io.sarl.lang.jvmmodel.fragments
Interface ISingleStageInferrerFragment<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:
AgentInferrerFragment, ArtifactInferrerFragment, BehaviorInferrerFragment, BehaviorUnitInferrerFragment, CapacityInferrerFragment, CapacityUseInferrerFragment, EventInferrerFragment, RequireCapacityInferrerFragment, SkillInferrerFragment, ActionInferrerFragment, ConstructorInferrerFragment
interface ISingleStageInferrerFragment<S, T>
Fragment for inferred to the JVM model based on a single stage process.
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)
Transform the source 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)
def transform(S,T,IBaseJvmModelInferrer)
Transform the source element to its equivalent JVM elements.
Parameters:
source - the source element.
inferredJvmType - the generated JVM types.
baseInferrer - the inferrer that is the considered as the base (starting point) of inferring process.