public class RealObjectDescriptor extends UnboxedValueDescriptor implements UnboxedDescriptor
Constructor and Description |
---|
RealObjectDescriptor(ElementId elementId) |
Modifier and Type | Method and Description |
---|---|
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.
|
Boolean |
appendEcore(JavaStream js,
JavaLocalContext<?> localContext,
CGEcoreExp cgEcoreExp,
CGValuedElement unboxedValue)
Append a conversion to an Ecore value.
|
getEcoreDescriptor, getUnboxedDescriptor, isAssignableFrom
append, getClassName, getJavaClass, hasJavaClass, isAssignableTo, toString
appendCast, appendCastTerm, appendEcoreStatements, appendEcoreValue, appendEqualsValue, appendNotEqualsTerm, appendUnboxStatements, asCollectionDescriptor, getEClassifier, getElementId, getPrimitiveDescriptor, isPrimitive
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
append, appendCast, appendCastTerm, appendEcoreStatements, appendEcoreValue, appendEqualsValue, appendNotEqualsTerm, appendUnboxStatements, asCollectionDescriptor, getClassName, getEClassifier, getEcoreDescriptor, getJavaClass, getPrimitiveDescriptor, getUnboxedDescriptor, hasJavaClass, isAssignableFrom, isAssignableTo, isPrimitive
public RealObjectDescriptor(ElementId elementId)
public Boolean appendBox(JavaStream js, JavaLocalContext<?> localContext, CGBoxExp cgBoxExp, CGValuedElement unboxedValue)
TypeDescriptor
appendBox
in interface TypeDescriptor
appendBox
in class AbstractDescriptor
public Boolean appendEcore(JavaStream js, JavaLocalContext<?> localContext, CGEcoreExp cgEcoreExp, CGValuedElement unboxedValue)
TypeDescriptor
appendEcore
in interface TypeDescriptor
appendEcore
in class AbstractDescriptor
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.