public class JUnitCodeGenerator extends JavaCodeGenerator
javaPrimitiveClasses, javaPrimitiveNames, knownClasses
ORG_ECLIPSE_JDT_ANNOTATION_NON_NULL, ORG_ECLIPSE_JDT_ANNOTATION_NULLABLE
Modifier and Type | Method and Description |
---|---|
static String |
generateClassFile(EnvironmentFactoryInternal environmentFactory,
ExpressionInOCL query,
String packageName,
String className) |
CodeGenAnalyzer |
getAnalyzer() |
JavaGlobalContext<JUnitCodeGenerator> |
getGlobalContext() |
createBoxingAnalyzer, 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 String generateClassFile(EnvironmentFactoryInternal environmentFactory, ExpressionInOCL query, String packageName, String className)
public CodeGenAnalyzer getAnalyzer()
public JavaGlobalContext<JUnitCodeGenerator> getGlobalContext()
getGlobalContext
in interface CodeGenerator
getGlobalContext
in class JavaCodeGenerator
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.