public static class EcoreUtil.EGenericTypeConverter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static EcoreUtil.EGenericTypeConverter |
INSTANCE
A default instance of the converter.
|
Constructor and Description |
---|
EcoreUtil.EGenericTypeConverter() |
Modifier and Type | Method and Description |
---|---|
void |
convertJavaInstanceTypeName(java.lang.StringBuilder result,
EGenericType eGenericType)
Converts a generic type to its Java representation in the result.
|
protected java.lang.String |
getInstanceTypeName(EClassifier eClassifier)
Returns the appropriate fully qualified java instance type name for the given classifier.
|
java.lang.String |
toJavaInstanceTypeName(EGenericType eGenericType)
Converts a generic type to its Java representation.
|
public static EcoreUtil.EGenericTypeConverter INSTANCE
public java.lang.String toJavaInstanceTypeName(EGenericType eGenericType)
eGenericType
- the generic type to convert.public void convertJavaInstanceTypeName(java.lang.StringBuilder result, EGenericType eGenericType)
result
- the target in which to accumulate the resulteGenericType
- the generic type to convert.protected java.lang.String getInstanceTypeName(EClassifier eClassifier)
eClassifier
- the classifier in question.