io.sarl.lang.jvmmodel
Class SARLJvmModelInferrer
All Superinterfaces:
IBaseJvmModelInferrer, org.eclipse.xtext.xbase.jvmmodel.IJvmModelInferrer
class SARLJvmModelInferrer
extends java.lang.Object
implements IBaseJvmModelInferrer
Infers a JVM model from the source model.

The JVM model should contain all elements that would appear in the Java code which is generated from the source model. Other models link against the JVM model rather than the source model.

The roles of the different generation tools are:
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Property Summary
Modifier and type Property and description
org.eclipse.xtext.xbase.jvmmodel.JvmAnnotationReferenceBuilder jvmAnnotationReferenceBuilder
org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder jvmTypeReferenceBuilder
Constructor Summary
Constructor and description
new
Action Summary
Modifier and type Action and description
protected final void addDefaultConstructor(XtendClass,JvmGenericType)
final void appendSyntheticDispatchMethods(XtendTypeDeclaration,JvmGenericType)
final void closeContext(GenerationContext)
final void copyAndFixTypeParameters(List<E>,JvmTypeParameterDeclarator)
protected final org.eclipse.xtext.common.types.JvmOperation deriveGenericDispatchOperationSignature(Iterable<T>,JvmGenericType)
protected final org.eclipse.xtext.common.types.JvmDeclaredType doInferTypeSceleton(XtendTypeDeclaration,IJvmDeclaredTypeAcceptor,boolean,XtendFile,List<E>)
final void fixTypeParameters(JvmTypeParameterDeclarator)
final GenerationContext getContext(JvmIdentifiableElement)
final org.eclipse.xtext.xbase.jvmmodel.JvmAnnotationReferenceBuilder getJvmAnnotationReferenceBuilder
final org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder getJvmTypeReferenceBuilder
final void inferLocalClass(AnonymousClass,String,JvmFeature)
protected final void inferTypeSceleton(XtendTypeDeclaration,IJvmDeclaredTypeAcceptor,boolean,XtendFile,List<E>,JvmDeclaredType)
protected final void initialize(XtendAnnotationType,JvmAnnotationType)
protected final void initialize(XtendClass,JvmGenericType)
protected final void initialize(XtendEnum,JvmEnumerationType)
protected final void initialize(XtendInterface,JvmGenericType)
final void logInternalError(String)
final void logInternalError(Throwable)
final GenerationContext openContext(EObject,JvmDeclaredType,Iterable<T>)
protected final void setBody(JvmExecutable,XExpression)
protected final void transform(XtendConstructor,JvmGenericType)
protected final void transform(XtendField,JvmGenericType)
protected final void transform(XtendFunction,JvmGenericType,boolean)
final void transform(XtendMember,JvmGenericType,boolean)
final void translateAnnotationsTo(List<E>,JvmAnnotationTarget)
final void translateParameter(JvmExecutable,XtendParameter)
Property Details
jvmAnnotationReferenceBuilder
val jvmAnnotationReferenceBuilder : org.eclipse.xtext.xbase.jvmmodel.JvmAnnotationReferenceBuilder

This property is an alias for the action: getJvmAnnotationReferenceBuilder

jvmTypeReferenceBuilder
val jvmTypeReferenceBuilder : org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder

This property is an alias for the action: getJvmTypeReferenceBuilder

Constructor Details
new
new
Action Details
addDefaultConstructor(XtendClass,JvmGenericType)
protected def addDefaultConstructor(XtendClass,JvmGenericType)
appendSyntheticDispatchMethods(XtendTypeDeclaration,JvmGenericType)
def appendSyntheticDispatchMethods(XtendTypeDeclaration,JvmGenericType)
closeContext(GenerationContext)
def closeContext(GenerationContext)
copyAndFixTypeParameters(List<E>,JvmTypeParameterDeclarator)
def copyAndFixTypeParameters(List<E>,JvmTypeParameterDeclarator)
deriveGenericDispatchOperationSignature(Iterable<T>,JvmGenericType)
protected def deriveGenericDispatchOperationSignature(Iterable<T>,JvmGenericType) : org.eclipse.xtext.common.types.JvmOperation
doInferTypeSceleton(XtendTypeDeclaration,IJvmDeclaredTypeAcceptor,boolean,XtendFile,List<E>)
protected def doInferTypeSceleton(XtendTypeDeclaration,IJvmDeclaredTypeAcceptor,boolean,XtendFile,List<E>) : org.eclipse.xtext.common.types.JvmDeclaredType
fixTypeParameters(JvmTypeParameterDeclarator)
def fixTypeParameters(JvmTypeParameterDeclarator)
getContext(JvmIdentifiableElement)
def getContext(JvmIdentifiableElement) : GenerationContext
getJvmAnnotationReferenceBuilder
def getJvmAnnotationReferenceBuilder : org.eclipse.xtext.xbase.jvmmodel.JvmAnnotationReferenceBuilder
getJvmTypeReferenceBuilder
def getJvmTypeReferenceBuilder : org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder
inferLocalClass(AnonymousClass,String,JvmFeature)
def inferLocalClass(AnonymousClass,String,JvmFeature)
inferTypeSceleton(XtendTypeDeclaration,IJvmDeclaredTypeAcceptor,boolean,XtendFile,List<E>,JvmDeclaredType)
protected def inferTypeSceleton(XtendTypeDeclaration,IJvmDeclaredTypeAcceptor,boolean,XtendFile,List<E>,JvmDeclaredType)
initialize(XtendAnnotationType,JvmAnnotationType)
protected def initialize(XtendAnnotationType,JvmAnnotationType)
initialize(XtendClass,JvmGenericType)
protected def initialize(XtendClass,JvmGenericType)
initialize(XtendEnum,JvmEnumerationType)
protected def initialize(XtendEnum,JvmEnumerationType)
initialize(XtendInterface,JvmGenericType)
protected def initialize(XtendInterface,JvmGenericType)
logInternalError(String)
def logInternalError(String)
logInternalError(Throwable)
def logInternalError(Throwable)
openContext(EObject,JvmDeclaredType,Iterable<T>)
def openContext(EObject,JvmDeclaredType,Iterable<T>) : GenerationContext
setBody(JvmExecutable,XExpression)
protected def setBody(JvmExecutable,XExpression)
transform(XtendConstructor,JvmGenericType)
protected def transform(XtendConstructor,JvmGenericType)
transform(XtendField,JvmGenericType)
protected def transform(XtendField,JvmGenericType)
transform(XtendFunction,JvmGenericType,boolean)
protected def transform(XtendFunction,JvmGenericType,boolean)
transform(XtendMember,JvmGenericType,boolean)
def transform(XtendMember,JvmGenericType,boolean)
translateAnnotationsTo(List<E>,JvmAnnotationTarget)
def translateAnnotationsTo(List<E>,JvmAnnotationTarget)
translateParameter(JvmExecutable,XtendParameter)
def translateParameter(JvmExecutable,XtendParameter)