public static class OCLinEcoreTablesUtils.CodeGenString extends Object
Constructor and Description |
---|
CodeGenString() |
Modifier and Type | Method and Description |
---|---|
void |
addClassReference(Class<?> referencedClass) |
void |
append(String string) |
void |
appendClassReference(Class<?> referencedClass) |
void |
appendClassReference(String referencedClass) |
void |
appendName(NamedElement namedElement) |
void |
appendParameterName(NamedElement namedElement) |
void |
appendScopedTypeName(Type theType)
Append the encoded name of a type with an _ prefix.
|
void |
appendUnscopedTypeName(PivotMetamodelManager metamodelManager,
Type theType)
Append the encoded name of a type with a suffix if disambiguation acros packages is required.
|
List<String> |
getClassReferences() |
String |
rewriteManagedImports(String source)
Rewrite double imports to suit the EMF generators.
|
String |
toString() |
public void append(String string)
public void addClassReference(Class<?> referencedClass)
public void appendClassReference(Class<?> referencedClass)
public void appendClassReference(String referencedClass)
public void appendName(NamedElement namedElement)
public void appendParameterName(NamedElement namedElement)
public void appendScopedTypeName(Type theType)
public void appendUnscopedTypeName(PivotMetamodelManager metamodelManager, Type theType)
metamodelManager
- public String rewriteManagedImports(String source)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.