public class FutureEnumerationObjectDescriptor extends UnboxedValueDescriptor
AbstractDescriptor.NamedFuture
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
className |
javaClass
elementId
Constructor and Description |
---|
FutureEnumerationObjectDescriptor(ElementId elementId,
java.lang.String className) |
Modifier and Type | Method and Description |
---|---|
void |
append(JavaStream js,
java.lang.Boolean isRequired)
Append the declaration of this type to a JavaStream.
|
java.lang.Boolean |
appendBox(JavaStream js,
JavaLocalContext<?> localContext,
CGBoxExp cgBoxExp,
CGValuedElement unboxedValue)
Append the appropriate statements to js to create the boxed value for cgBboxExp from its unboxedValue.
|
java.lang.Boolean |
appendEcore(JavaStream js,
JavaLocalContext<?> localContext,
CGEcoreExp cgEcoreExp,
CGValuedElement unboxedValue)
Append a conversion to an Ecore value.
|
getEcoreDescriptor, getUnboxedDescriptor, isAssignableFrom
getClassName, getJavaClass, hasJavaClass, isAssignableTo, toString
appendCast, appendCastTerm, appendEcoreStatements, appendEcoreValue, appendEqualsValue, appendNotEqualsTerm, appendUnboxStatements, asCollectionDescriptor, getEClassifier, getElementId, getPrimitiveDescriptor, isBoxedType, isPrimitive, reClass
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendCast, appendCastTerm, appendEcoreStatements, appendEcoreValue, appendEqualsValue, appendNotEqualsTerm, appendUnboxStatements, asCollectionDescriptor, getClassName, getEClassifier, getJavaClass, getPrimitiveDescriptor, hasJavaClass, isAssignableTo, isPrimitive
public FutureEnumerationObjectDescriptor(@NonNull ElementId elementId, @NonNull java.lang.String className)
public void append(@NonNull JavaStream js, @Nullable java.lang.Boolean isRequired)
TypeDescriptor
append
in interface TypeDescriptor
append
in class AbstractValueDescriptor
@NonNull public java.lang.Boolean appendBox(@NonNull JavaStream js, @NonNull JavaLocalContext<?> localContext, @NonNull CGBoxExp cgBoxExp, @NonNull CGValuedElement unboxedValue)
TypeDescriptor
appendBox
in interface TypeDescriptor
appendBox
in class AbstractDescriptor
@NonNull public java.lang.Boolean appendEcore(@NonNull JavaStream js, @NonNull JavaLocalContext<?> localContext, @NonNull CGEcoreExp cgEcoreExp, @NonNull CGValuedElement unboxedValue)
TypeDescriptor
appendEcore
in interface TypeDescriptor
appendEcore
in class AbstractDescriptor