io.sarl.lang.jvmmodel.fragments
Interface IInheritedStageInferrerFragment<S, T>
Type Parameters:
S - the type of the SARL's Ecore element.
T - the type of the JVM's Ecore element.
All Known Implementing Classes:
AnnotationTypeInferrerFragment, ClassInferrerFragment, EnumInferrerFragment, FieldInferrerFragment, InterfaceInferrerFragment
interface IInheritedStageInferrerFragment<S, T>
Fragment for inferred to the JVM model based on a single stage process and with a callback to the transformation function that is provided by Xbase or Xtend.
Parameters:
<S> - the type of the SARL's Ecore element.
<T> - the type of the JVM's Ecore element.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.15
Property Summary
Modifier and type Property and description
java.lang.Class<T> supportedType
Replies the type of the source Ecore element that is supported by this fragment.
Action Summary
Modifier and type Action and description
abstract java.lang.Class<T> getSupportedType
Replies the type of the source Ecore element that is supported by this fragment.
abstract void transform(S,T,IBaseJvmModelInferrer,BiConsumer<T,U>)
Transform the source Ecore element to its equivalent JVM elements.
Property Details
supportedType
val supportedType : java.lang.Class<T>
Replies the type of the source Ecore element that is supported by this fragment.

This property is an alias for the action: getSupportedType

Returns:
the type.
Action Details
getSupportedType
def getSupportedType : java.lang.Class<T>
Replies the type of the source Ecore element that is supported by this fragment.
Returns:
the type.
transform(S,T,IBaseJvmModelInferrer,BiConsumer<T,U>)
def transform(S,T,IBaseJvmModelInferrer,BiConsumer<T,U>)
Transform the source Ecore element to its equivalent JVM elements.
Parameters:
source - the source Ecore element.
inferredJvmType - the receiver of the JVM elements.
baseInferrer - the inferrer that is the considered as the base (starting point) of inferring process.
inheritedTransformer - the transformer that is inherited from the Xtext/Xtend API.