public class OCLinEcoreCodeGenerator extends JavaCodeGenerator
Modifier and Type | Class and Description |
---|---|
static class |
OCLinEcoreCodeGenerator.EcoreBoxingAnalyzer |
javaPrimitiveClasses, javaPrimitiveNames, knownClasses
ORG_ECLIPSE_JDT_ANNOTATION_NON_NULL, ORG_ECLIPSE_JDT_ANNOTATION_NULLABLE
Modifier and Type | Method and Description |
---|---|
BoxingAnalyzer |
createBoxingAnalyzer() |
static void |
generatePackage(GenPackage genPackage,
Map<String,String> uri2body,
Map<GenPackage,String> constantsTexts) |
CodeGenAnalyzer |
getAnalyzer() |
OCLinEcoreGlobalContext |
getGlobalContext() |
createCG2JavaPreVisitor, createCommonSubexpressionEliminator, createDependencyVisitor, createFieldingAnalyzer, createReferencesVisitor, getBoxedDescriptor, getCGResourceFactory, getConstantsClass, getEcoreDescriptor, getGlobalPlace, getId2BoxedDescriptorVisitor, getId2EClassVisitor, getIsNonNull, getIterationHelper, getLeastDerivedMethod, getTypeDescriptor, getUnboxedDescriptor, initPrimitive, isNonNull, isNonNull, isPrimitive, maybePrimitive, prepareGlobals
addConstrainedOperation, addProblem, createAnalysisVisitor, getDefaultIndent, getEnvironmentFactory, getGenModelHelper, getNameManager, getOptions, getProblems, isFinal
public static void generatePackage(GenPackage genPackage, Map<String,String> uri2body, Map<GenPackage,String> constantsTexts)
public BoxingAnalyzer createBoxingAnalyzer()
createBoxingAnalyzer
in interface CodeGenerator
createBoxingAnalyzer
in class JavaCodeGenerator
public CodeGenAnalyzer getAnalyzer()
public OCLinEcoreGlobalContext getGlobalContext()
getGlobalContext
in interface CodeGenerator
getGlobalContext
in class JavaCodeGenerator
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.