public class EcoreDoubleObjectDescriptor extends SimpleValueDescriptor implements SimpleDescriptor
Constructor and Description |
---|
EcoreDoubleObjectDescriptor(ElementId elementId) |
Modifier and Type | Method and Description |
---|---|
void |
appendCast(JavaStream js,
Class<?> actualJavaClass,
JavaStream.SubStream subStream)
Append the actualJavaClass subStream to js wrapped in a cast to this type.g.
|
void |
appendEqualsValue(JavaStream js,
CGValuedElement thisValue,
CGValuedElement thatValue,
boolean notEquals)
Append an expression term that evaluates whether (this TypedDescriptor and) thisValue is not equals/ notEquals to thatValue.
|
void |
appendNotEqualsTerm(JavaStream js,
CGValuedElement thisValue,
TypeDescriptor thatTypeDescriptor,
String thatName)
Append an expression term that evaluates whether (this TypedDescriptor and) thisValue is not equal to thatTypeDescriptor and thatName.
|
TypeDescriptor |
getPrimitiveDescriptor()
Return the type descriptor for use when a primitive type would be appropriate.
|
getEcoreDescriptor, getUnboxedDescriptor, isAssignableFrom
append, getClassName, getJavaClass, hasJavaClass, isAssignableTo, toString
appendBox, appendCastTerm, appendEcore, appendEcoreStatements, appendEcoreValue, appendUnboxStatements, asCollectionDescriptor, getEClassifier, getElementId, isPrimitive
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
append, appendBox, appendCastTerm, appendEcore, appendEcoreStatements, appendEcoreValue, appendUnboxStatements, asCollectionDescriptor, getClassName, getEClassifier, getEcoreDescriptor, getJavaClass, getUnboxedDescriptor, hasJavaClass, isAssignableFrom, isAssignableTo, isPrimitive
public EcoreDoubleObjectDescriptor(ElementId elementId)
public void appendCast(JavaStream js, Class<?> actualJavaClass, JavaStream.SubStream subStream)
TypeDescriptor
appendCast
in interface TypeDescriptor
appendCast
in class AbstractDescriptor
public void appendNotEqualsTerm(JavaStream js, CGValuedElement thisValue, TypeDescriptor thatTypeDescriptor, String thatName)
TypeDescriptor
appendNotEqualsTerm
in interface TypeDescriptor
appendNotEqualsTerm
in class AbstractDescriptor
public void appendEqualsValue(JavaStream js, CGValuedElement thisValue, CGValuedElement thatValue, boolean notEquals)
TypeDescriptor
appendEqualsValue
in interface TypeDescriptor
appendEqualsValue
in class AbstractDescriptor
public TypeDescriptor getPrimitiveDescriptor()
TypeDescriptor
getPrimitiveDescriptor
in interface TypeDescriptor
getPrimitiveDescriptor
in class AbstractDescriptor
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.