Methods
Modifier and Type |
Method and Description |
protected ITreeAppendable |
_generateBody(JvmAnnotationType it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected ITreeAppendable |
_generateBody(JvmEnumerationType it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected ITreeAppendable |
_generateBody(JvmGenericType it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected ITreeAppendable |
_generateMember(JvmConstructor it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected ITreeAppendable |
_generateMember(JvmDeclaredType it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected ITreeAppendable |
_generateMember(JvmField it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected ITreeAppendable |
_generateMember(JvmMember it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected ITreeAppendable |
_generateMember(JvmOperation it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected ITreeAppendable |
_generateModifier(JvmConstructor it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected ITreeAppendable |
_generateModifier(JvmDeclaredType it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected ITreeAppendable |
_generateModifier(JvmField it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected ITreeAppendable |
_generateModifier(JvmGenericType it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected ITreeAppendable |
_generateModifier(JvmOperation it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected java.lang.Iterable<JvmMember> |
_getMembersToBeCompiled(JvmDeclaredType it) |
protected java.lang.Iterable<JvmMember> |
_getMembersToBeCompiled(JvmEnumerationType type) |
protected java.lang.Iterable<JvmMember> |
_getMembersToBeCompiled(JvmGenericType it) |
protected void |
_internalDoGenerate(org.eclipse.emf.ecore.EObject obj,
IFileSystemAccess fsa) |
protected void |
_internalDoGenerate(JvmDeclaredType type,
IFileSystemAccess fsa) |
protected void |
_toJavaLiteral(JvmAnnotationAnnotationValue value,
ITreeAppendable appendable,
GeneratorConfig config) |
protected void |
_toJavaLiteral(JvmBooleanAnnotationValue it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected void |
_toJavaLiteral(JvmByteAnnotationValue it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected void |
_toJavaLiteral(JvmCharAnnotationValue it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected void |
_toJavaLiteral(JvmCustomAnnotationValue it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected void |
_toJavaLiteral(JvmDoubleAnnotationValue it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected void |
_toJavaLiteral(JvmEnumAnnotationValue it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected void |
_toJavaLiteral(JvmFloatAnnotationValue it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected void |
_toJavaLiteral(JvmIntAnnotationValue it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected void |
_toJavaLiteral(JvmLongAnnotationValue it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected void |
_toJavaLiteral(JvmShortAnnotationValue it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected void |
_toJavaLiteral(JvmStringAnnotationValue it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected void |
_toJavaLiteral(JvmTypeAnnotationValue it,
ITreeAppendable appendable,
GeneratorConfig config) |
void |
addJavaDocImports(org.eclipse.emf.ecore.EObject it,
ITreeAppendable appendable,
java.util.List<INode> documentationNodes) |
void |
assignThisAndSuper(ITreeAppendable b,
JvmDeclaredType declaredType,
GeneratorConfig config) |
ITreeAppendable |
compile(JvmExecutable executable,
XExpression expression,
JvmTypeReference returnType,
ITreeAppendable appendable,
GeneratorConfig config) |
JvmGenericType |
containerType(org.eclipse.emf.ecore.EObject context) |
TreeAppendable |
createAppendable(org.eclipse.emf.ecore.EObject context,
ImportManager importManager,
GeneratorConfig config) |
protected ImportingStringConcatenation |
createImportingStringConcatenation(SharedAppendableState state,
ITypeReferenceOwner owner) |
protected ImportManager |
createImportManager(JvmDeclaredType type) |
protected java.lang.String |
doConvertToJavaString(java.lang.String input)
Convert a given input string to a Java string.
|
void |
doGenerate(org.eclipse.emf.ecore.resource.Resource input,
IFileSystemAccess fsa) |
void |
generateAnnotation(JvmAnnotationReference it,
ITreeAppendable appendable,
GeneratorConfig config) |
void |
generateAnnotationMethod(JvmOperation it,
ITreeAppendable appendable,
GeneratorConfig config) |
void |
generateAnnotations(java.lang.Iterable<JvmAnnotationReference> annotations,
ITreeAppendable appendable,
boolean withLineBreak,
GeneratorConfig config) |
ITreeAppendable |
generateAnnotationsWithSyntheticSuppressWarnings(JvmDeclaredType it,
ITreeAppendable appendable,
GeneratorConfig config)
Deprecated.
Additional annotations should be created in the JVM model.
|
ITreeAppendable |
generateBody(JvmDeclaredType it,
ITreeAppendable appendable,
GeneratorConfig config) |
ITreeAppendable |
generateBodyWithIssues(ITreeAppendable appendable,
java.lang.Iterable<Issue> errors) |
void |
generateDefaultExpression(JvmOperation it,
ITreeAppendable appendable,
GeneratorConfig config) |
protected ITreeAppendable |
generateDocumentation(java.lang.String text,
java.util.List<INode> documentationNodes,
ITreeAppendable appendable,
GeneratorConfig config) |
void |
generateEnumLiteral(JvmEnumerationLiteral it,
ITreeAppendable appendable,
GeneratorConfig config) |
void |
generateExecutableBody(JvmExecutable op,
ITreeAppendable appendable,
GeneratorConfig config) |
void |
generateExtendsClause(JvmDeclaredType it,
ITreeAppendable appendable,
GeneratorConfig config) |
void |
generateFileHeader(JvmDeclaredType it,
ITreeAppendable appendable,
GeneratorConfig config) |
void |
generateInitialization(JvmField it,
ITreeAppendable appendable,
GeneratorConfig config) |
void |
generateJavaDoc(org.eclipse.emf.ecore.EObject it,
ITreeAppendable appendable,
GeneratorConfig config) |
ITreeAppendable |
generateMember(JvmMember it,
ITreeAppendable appendable,
GeneratorConfig config) |
ITreeAppendable |
generateMembersInBody(JvmDeclaredType it,
ITreeAppendable appendable,
GeneratorConfig config) |
ITreeAppendable |
generateModifier(JvmMember it,
ITreeAppendable appendable,
GeneratorConfig config) |
void |
generateParameter(JvmFormalParameter it,
ITreeAppendable appendable,
boolean vararg,
GeneratorConfig config) |
void |
generateParameters(JvmExecutable it,
ITreeAppendable appendable,
GeneratorConfig config) |
void |
generateThrowsClause(JvmExecutable it,
ITreeAppendable appendable,
GeneratorConfig config) |
java.lang.CharSequence |
generateType(JvmDeclaredType type,
GeneratorConfig config) |
void |
generateTypeParameterConstraints(JvmTypeParameter it,
ITreeAppendable appendable,
GeneratorConfig config) |
void |
generateTypeParameterDeclaration(JvmTypeParameterDeclarator it,
ITreeAppendable appendable,
GeneratorConfig config) |
void |
generateTypeParameterDeclaration(JvmTypeParameter it,
ITreeAppendable appendable,
GeneratorConfig config) |
ITreeAppendable |
generateVisibilityModifier(JvmMember it,
ITreeAppendable result) |
ImportManager |
getImportManager(ITreeAppendable appendable) |
java.lang.Iterable<JvmMember> |
getMembersToBeCompiled(JvmDeclaredType type) |
protected java.util.Set<org.eclipse.emf.ecore.EObject> |
getSourceElements(org.eclipse.emf.ecore.EObject jvmElement) |
boolean |
hasBody(JvmExecutable it) |
void |
internalDoGenerate(org.eclipse.emf.ecore.EObject type,
IFileSystemAccess fsa) |
java.lang.String |
javaName(JvmVisibility visibility)
Returns the visibility modifier and a space as suffix if not empty
|
protected java.lang.String |
makeJavaIdentifier(java.lang.String name) |
protected java.lang.String |
reassignThisType(ITreeAppendable b,
JvmDeclaredType declaredType) |
void |
toJava(JvmAnnotationValue it,
ITreeAppendable appendable,
GeneratorConfig config) |
void |
toJavaLiteral(JvmAnnotationValue value,
ITreeAppendable appendable,
GeneratorConfig config) |