io.sarl.lang.jvmmodel
Interface SarlJvmModelAssociations
All Superinterfaces:
org.eclipse.xtend.core.jvmmodel.IXtendJvmAssociations, org.eclipse.xtext.xbase.jvmmodel.IJvmModelAssociations
All Known Implementing Classes:
Impl
interface SarlJvmModelAssociations
implements org.eclipse.xtend.core.jvmmodel.IXtendJvmAssociations
Associations between the SARL elements and the JVM elements.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Nested Type Summary
Modifier and type Type and description
class SarlJvmModelAssociations.Impl
Associations between the SARL elements and the JVM elements.
Action Summary
Modifier and type Action and description
abstract org.eclipse.xtext.common.types.JvmOperation getInferredBodyOperation(SarlBehaviorUnit)
Returns the inferred operation for the body of the given behavior unit.
abstract org.eclipse.xtext.common.types.JvmOperation getInferredGuardOperation(SarlBehaviorUnit)
Returns the inferred operation for the guard of the given behavior unit.
abstract org.eclipse.xtext.common.types.JvmGenericType getInferredType(SarlAgent)
Replies the inferrer type for the given agent.
abstract org.eclipse.xtext.common.types.JvmGenericType getInferredType(SarlBehavior)
Replies the inferrer type for the given behavior.
abstract org.eclipse.xtext.common.types.JvmGenericType getInferredType(SarlCapacity)
Replies the inferrer type for the given capacity.
abstract org.eclipse.xtext.common.types.JvmGenericType getInferredType(SarlEvent)
Replies the inferrer type for the given event.
abstract org.eclipse.xtext.common.types.JvmGenericType getInferredType(SarlSkill)
Replies the inferrer type for the given skill.
abstract SarlAction getSarlAction(JvmOperation)
Replies the SARL action associated to the given JVM operation.
abstract SarlAgent getSarlAgent(JvmGenericType)
Replies the SARL agent associated to the given type.
abstract SarlAnnotationType getSarlAnnotationType(JvmGenericType)
Replies the SARL annotation type associated to the given type.
abstract SarlArtifact getSarlArtifact(JvmGenericType)
Replies the SARL artifact associated to the given type.
abstract SarlBehavior getSarlBehavior(JvmGenericType)
Replies the SARL behavior associated to the given type.
abstract SarlCapacity getSarlCapacity(JvmGenericType)
Replies the SARL capacity associated to the given type.
abstract SarlClass getSarlClass(JvmGenericType)
Replies the SARL class associated to the given type.
abstract SarlConstructor getSarlConstructor(JvmConstructor)
Replies the SARL constructor associated to the given JVM constructor.
abstract SarlEnumeration getSarlEnumeration(JvmGenericType)
Replies the SARL enumeration associated to the given type.
abstract SarlEvent getSarlEvent(JvmGenericType)
Replies the SARL event associated to the given type.
abstract SarlField getSarlField(JvmField)
Replies the SARL field associated to the given JVM operation.
abstract SarlInterface getSarlInterface(JvmGenericType)
Replies the SARL interface associated to the given type.
abstract SarlSkill getSarlSkill(JvmGenericType)
Replies the SARL skill associated to the given type.
abstract SarlSpace getSarlSpace(JvmGenericType)
Replies the SARL space associated to the given type.
Action Details
getInferredBodyOperation(SarlBehaviorUnit)
def getInferredBodyOperation(SarlBehaviorUnit) : org.eclipse.xtext.common.types.JvmOperation
Returns the inferred operation for the body of the given behavior unit.
Parameters:
behaviorUnit - the behavior unit.
Returns:
the inferred operation.
getInferredGuardOperation(SarlBehaviorUnit)
def getInferredGuardOperation(SarlBehaviorUnit) : org.eclipse.xtext.common.types.JvmOperation
Returns the inferred operation for the guard of the given behavior unit.
Parameters:
behaviorUnit - the behavior unit.
Returns:
the inferred operation.
getInferredType(SarlAgent)
def getInferredType(SarlAgent) : org.eclipse.xtext.common.types.JvmGenericType
Replies the inferrer type for the given agent.
Parameters:
obj - the SARL object.
Returns:
the inferred type.
getInferredType(SarlBehavior)
def getInferredType(SarlBehavior) : org.eclipse.xtext.common.types.JvmGenericType
Replies the inferrer type for the given behavior.
Parameters:
obj - the SARL object.
Returns:
the inferred type.
getInferredType(SarlCapacity)
def getInferredType(SarlCapacity) : org.eclipse.xtext.common.types.JvmGenericType
Replies the inferrer type for the given capacity.
Parameters:
obj - the SARL object.
Returns:
the inferred type.
getInferredType(SarlEvent)
def getInferredType(SarlEvent) : org.eclipse.xtext.common.types.JvmGenericType
Replies the inferrer type for the given event.
Parameters:
obj - the SARL object.
Returns:
the inferred type.
getInferredType(SarlSkill)
def getInferredType(SarlSkill) : org.eclipse.xtext.common.types.JvmGenericType
Replies the inferrer type for the given skill.
Parameters:
obj - the SARL object.
Returns:
the inferred type.
getSarlAction(JvmOperation)
def getSarlAction(JvmOperation) : SarlAction
Replies the SARL action associated to the given JVM operation.
Parameters:
jvmOperation - the JVM operation.
Returns:
the SARL element.
Since:
0.7
getSarlAgent(JvmGenericType)
def getSarlAgent(JvmGenericType) : SarlAgent
Replies the SARL agent associated to the given type.
Parameters:
jvmType - the JVM type.
Returns:
the SARL element.
getSarlAnnotationType(JvmGenericType)
def getSarlAnnotationType(JvmGenericType) : SarlAnnotationType
Replies the SARL annotation type associated to the given type.
Parameters:
jvmType - the JVM type.
Returns:
the SARL element.
Since:
0.6
getSarlArtifact(JvmGenericType)
def getSarlArtifact(JvmGenericType) : SarlArtifact
Replies the SARL artifact associated to the given type.
Parameters:
jvmType - the JVM type.
Returns:
the SARL element.
Since:
0.6
getSarlBehavior(JvmGenericType)
def getSarlBehavior(JvmGenericType) : SarlBehavior
Replies the SARL behavior associated to the given type.
Parameters:
jvmType - the JVM type.
Returns:
the SARL element.
getSarlCapacity(JvmGenericType)
def getSarlCapacity(JvmGenericType) : SarlCapacity
Replies the SARL capacity associated to the given type.
Parameters:
jvmType - the JVM type.
Returns:
the SARL element.
getSarlClass(JvmGenericType)
def getSarlClass(JvmGenericType) : SarlClass
Replies the SARL class associated to the given type.
Parameters:
jvmType - the JVM type.
Returns:
the SARL element.
Since:
0.6
getSarlConstructor(JvmConstructor)
def getSarlConstructor(JvmConstructor) : SarlConstructor
Replies the SARL constructor associated to the given JVM constructor.
Parameters:
jvmConstructor - the JVM constructor.
Returns:
the SARL element.
Since:
0.7
getSarlEnumeration(JvmGenericType)
def getSarlEnumeration(JvmGenericType) : SarlEnumeration
Replies the SARL enumeration associated to the given type.
Parameters:
jvmType - the JVM type.
Returns:
the SARL element.
Since:
0.6
getSarlEvent(JvmGenericType)
def getSarlEvent(JvmGenericType) : SarlEvent
Replies the SARL event associated to the given type.
Parameters:
jvmType - the JVM type.
Returns:
the SARL element.
getSarlField(JvmField)
def getSarlField(JvmField) : SarlField
Replies the SARL field associated to the given JVM operation.
Parameters:
jvmfield - the JVM field.
Returns:
the SARL element.
Since:
0.7
getSarlInterface(JvmGenericType)
def getSarlInterface(JvmGenericType) : SarlInterface
Replies the SARL interface associated to the given type.
Parameters:
jvmType - the JVM type.
Returns:
the SARL element.
Since:
0.6
getSarlSkill(JvmGenericType)
def getSarlSkill(JvmGenericType) : SarlSkill
Replies the SARL skill associated to the given type.
Parameters:
jvmType - the JVM type.
Returns:
the SARL element.
getSarlSpace(JvmGenericType)
def getSarlSpace(JvmGenericType) : SarlSpace
Replies the SARL space associated to the given type.
Parameters:
jvmType - the JVM type.
Returns:
the SARL element.
Since:
0.6