io.sarl.lang.jvmmodel.fragments
Class BehaviorUnitDefinitions
All Superinterfaces:
java.io.Serializable
Enclosing class:
AbstractJvmModelInferrerTypeFragment
protected static class BehaviorUnitDefinitions
extends java.lang.Object
implements java.io.Serializable
Informations about the behavior units and the guards.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.14
Property Summary
Modifier and type Property and description
java.lang.Iterable<T> eventTypes
Replies the types that have been used for definition behavior units.
java.lang.Iterable<T> functions
Replies all the declarations of the functions.
Constructor Summary
Constructor and description
new
Action Summary
Modifier and type Action and description
java.lang.Iterable<T> getEventTypes
Replies the types that have been used for definition behavior units.
java.lang.Iterable<T> getFunctions
Replies all the declarations of the functions.
BehaviorUnitFunctions getFunctionsFor(JvmTypeReference)
Replies the declarations of the functions that are associated to the given type.
Property Details
eventTypes
val eventTypes : java.lang.Iterable<T>
Replies the types that have been used for definition behavior units.

This property is an alias for the action: getEventTypes

Returns:
the types.
functions
val functions : java.lang.Iterable<T>
Replies all the declarations of the functions.

This property is an alias for the action: getFunctions

Returns:
the definitions, never null .
Constructor Details
new
protected new
Action Details
getEventTypes
def getEventTypes : java.lang.Iterable<T>
Replies the types that have been used for definition behavior units.
Returns:
the types.
getFunctions
def getFunctions : java.lang.Iterable<T>
Replies all the declarations of the functions.
Returns:
the definitions, never null .
getFunctionsFor(JvmTypeReference)
def getFunctionsFor(JvmTypeReference) : BehaviorUnitFunctions
Replies the declarations of the functions that are associated to the given type.
Parameters:
type - the type.
Returns:
the definitions, never null .