public class XcoreJvmInferrer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
XcoreJvmInferrer.InferenceAdapter |
protected static class |
XcoreJvmInferrer.JvmElementInferrer<T extends JvmIdentifiableElement> |
protected static class |
XcoreJvmInferrer.TypeReferenceHelper |
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
TYPE_PARAMETER_REFERENCE_SCHEME |
protected static URI |
TYPE_PARAMETER_REFERENCE_SCHEME_BASE_URI |
protected static int |
X_HIGH |
protected static int |
X_LOW |
protected static int |
X_MEDIUM |
protected static int |
X_VERY_HIGH |
protected static int |
X_VERY_LOW |
Constructor and Description |
---|
XcoreJvmInferrer() |
Modifier and Type | Method and Description |
---|---|
protected void |
associate(GenBase genBase,
XcoreJvmInferrer.JvmElementInferrer<? extends JvmIdentifiableElement> jvmElementInferrer) |
protected JvmField |
createJvmField(EObject context,
JvmVisibility jvmVisibility,
boolean isStatic,
boolean isFinal,
JvmTypeReference jvmTypeReference) |
protected JvmField |
createJvmField(EObject context,
JvmVisibility jvmVisibility,
boolean isStatic,
boolean isFinal,
java.lang.String name,
JvmTypeReference jvmTypeReference) |
protected JvmField |
createJvmField(EObject context,
JvmVisibility jvmVisibility,
boolean isStatic,
JvmTypeReference jvmTypeReference) |
protected JvmField |
createJvmField(EObject context,
JvmVisibility jvmVisibility,
boolean isStatic,
java.lang.String name,
JvmTypeReference jvmTypeReference) |
protected JvmFormalParameter |
createJvmFormalParameter(EObject context,
JvmTypeReference jvmTypeReference) |
protected JvmFormalParameter |
createJvmFormalParameter(EObject context,
java.lang.String name,
JvmTypeReference jvmTypeReference) |
protected JvmOperation |
createJvmOperation(EObject context,
JvmVisibility jvmVisibility,
boolean isStatic,
JvmTypeReference jvmTypeReference) |
protected JvmOperation |
createJvmOperation(EObject context,
JvmVisibility jvmVisibility,
boolean isStatic,
java.lang.String name,
JvmTypeReference jvmTypeReference) |
protected XcoreJvmInferrer.TypeReferenceHelper |
getCache(EObject context) |
protected XcoreJvmInferrer.TypeReferenceHelper |
getCache(Resource resource) |
protected JvmGenericType |
getDeclaredType(GenClass genClass,
boolean isInterface,
boolean isImplementation) |
protected JvmDeclaredType |
getDeclaredType(GenEnum genEnum) |
protected java.util.List<? extends JvmDeclaredType> |
getDeclaredTypes(GenClass genClass) |
protected java.util.List<? extends JvmDeclaredType> |
getDeclaredTypes(GenClassifier genClassifier) |
protected java.util.List<? extends JvmDeclaredType> |
getDeclaredTypes(GenPackage genPackage) |
protected JvmGenericType |
getFactory(GenPackage genPackage,
boolean isInterface,
boolean isImplementation) |
static java.util.List<JvmIdentifiableElement> |
getInferredElements(GenBase genBase) |
protected java.util.List<JvmOperation> |
getJvmFeatureAccessors(GenClass genClass,
GenFeature genFeature,
boolean isInterface,
boolean isImplementation) |
protected JvmFormalParameter |
getJvmFormalParameter(GenParameter genParameter) |
protected JvmOperation |
getJvmOperation(GenClass genClass,
GenOperation genOperation,
boolean isInterface,
boolean isImplementation) |
protected JvmTypeParameter |
getJvmTypeParameter(ETypeParameter eTypeParameter,
GenTypeParameter genTypeParameter) |
protected JvmTypeReference |
getJvmTypeReference(EGenericType eGenericType,
EObject context) |
protected JvmTypeReference |
getJvmTypeReference(GenClassifier genClassifier) |
protected JvmTypeReference |
getJvmTypeReference(java.lang.String instanceTypeName,
EObject context) |
protected java.util.List<JvmTypeReference> |
getJvmTypeReferences(java.util.List<EGenericType> eGenericTypes,
EObject context) |
protected JvmGenericType |
getPackage(GenPackage genPackage,
boolean isInterface,
boolean isImplementation) |
protected void |
inferDeepStructure(GenBase genBase) |
void |
inferDeepStructure(GenModel genModel) |
java.util.List<? extends JvmDeclaredType> |
inferElements(GenModel genModel) |
static void |
inferName(GenBase genBase) |
protected void |
populateTypeParameters(java.lang.String typeParameters,
EList<GenTypeParameter> genTypeParameters,
EList<JvmTypeParameter> jvmTypeParameters) |
protected static final int X_VERY_LOW
protected static final int X_LOW
protected static final int X_MEDIUM
protected static final int X_HIGH
protected static final int X_VERY_HIGH
protected static final java.lang.String TYPE_PARAMETER_REFERENCE_SCHEME
protected static final URI TYPE_PARAMETER_REFERENCE_SCHEME_BASE_URI
public static java.util.List<JvmIdentifiableElement> getInferredElements(GenBase genBase)
public static void inferName(GenBase genBase)
public java.util.List<? extends JvmDeclaredType> inferElements(GenModel genModel)
public void inferDeepStructure(GenModel genModel)
protected void inferDeepStructure(GenBase genBase)
protected java.util.List<? extends JvmDeclaredType> getDeclaredTypes(GenPackage genPackage)
protected JvmGenericType getFactory(GenPackage genPackage, boolean isInterface, boolean isImplementation)
protected JvmGenericType getPackage(GenPackage genPackage, boolean isInterface, boolean isImplementation)
protected java.util.List<? extends JvmDeclaredType> getDeclaredTypes(GenClassifier genClassifier)
protected JvmDeclaredType getDeclaredType(GenEnum genEnum)
protected java.util.List<? extends JvmDeclaredType> getDeclaredTypes(GenClass genClass)
protected JvmGenericType getDeclaredType(GenClass genClass, boolean isInterface, boolean isImplementation)
protected java.util.List<JvmOperation> getJvmFeatureAccessors(GenClass genClass, GenFeature genFeature, boolean isInterface, boolean isImplementation)
protected JvmOperation getJvmOperation(GenClass genClass, GenOperation genOperation, boolean isInterface, boolean isImplementation)
protected JvmFormalParameter getJvmFormalParameter(GenParameter genParameter)
protected XcoreJvmInferrer.TypeReferenceHelper getCache(EObject context)
protected XcoreJvmInferrer.TypeReferenceHelper getCache(Resource resource)
protected JvmTypeReference getJvmTypeReference(java.lang.String instanceTypeName, EObject context)
protected JvmTypeReference getJvmTypeReference(EGenericType eGenericType, EObject context)
protected JvmTypeReference getJvmTypeReference(GenClassifier genClassifier)
protected java.util.List<JvmTypeReference> getJvmTypeReferences(java.util.List<EGenericType> eGenericTypes, EObject context)
protected JvmFormalParameter createJvmFormalParameter(EObject context, JvmTypeReference jvmTypeReference)
protected JvmFormalParameter createJvmFormalParameter(EObject context, java.lang.String name, JvmTypeReference jvmTypeReference)
protected JvmField createJvmField(EObject context, JvmVisibility jvmVisibility, boolean isStatic, JvmTypeReference jvmTypeReference)
protected JvmField createJvmField(EObject context, JvmVisibility jvmVisibility, boolean isStatic, boolean isFinal, JvmTypeReference jvmTypeReference)
protected JvmField createJvmField(EObject context, JvmVisibility jvmVisibility, boolean isStatic, java.lang.String name, JvmTypeReference jvmTypeReference)
protected JvmField createJvmField(EObject context, JvmVisibility jvmVisibility, boolean isStatic, boolean isFinal, java.lang.String name, JvmTypeReference jvmTypeReference)
protected JvmOperation createJvmOperation(EObject context, JvmVisibility jvmVisibility, boolean isStatic, JvmTypeReference jvmTypeReference)
protected JvmOperation createJvmOperation(EObject context, JvmVisibility jvmVisibility, boolean isStatic, java.lang.String name, JvmTypeReference jvmTypeReference)
protected void populateTypeParameters(java.lang.String typeParameters, EList<GenTypeParameter> genTypeParameters, EList<JvmTypeParameter> jvmTypeParameters)
protected JvmTypeParameter getJvmTypeParameter(ETypeParameter eTypeParameter, GenTypeParameter genTypeParameter)
protected void associate(GenBase genBase, XcoreJvmInferrer.JvmElementInferrer<? extends JvmIdentifiableElement> jvmElementInferrer)