public abstract class AbstractPrimitiveDescriptor extends SimpleValueDescriptor implements SimpleDescriptor
Constructor and Description |
---|
AbstractPrimitiveDescriptor(ElementId elementId,
Class<?> javaClass) |
Modifier and Type | Method and Description |
---|---|
void |
append(JavaStream js,
Boolean isRequired)
Append the declaration of this type to a JavaStream.
|
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.
|
getEcoreDescriptor, getUnboxedDescriptor, isAssignableFrom
getClassName, getJavaClass, hasJavaClass, isAssignableTo, toString
appendBox, appendCast, appendCastTerm, appendEcore, appendEcoreStatements, appendEcoreValue, appendUnboxStatements, asCollectionDescriptor, getEClassifier, getElementId, getPrimitiveDescriptor, isPrimitive
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendBox, appendCast, appendCastTerm, appendEcore, appendEcoreStatements, appendEcoreValue, appendUnboxStatements, asCollectionDescriptor, getClassName, getEClassifier, getEcoreDescriptor, getJavaClass, getPrimitiveDescriptor, getUnboxedDescriptor, hasJavaClass, isAssignableFrom, isAssignableTo, isPrimitive
public void append(JavaStream js, Boolean isRequired)
TypeDescriptor
append
in interface TypeDescriptor
append
in class AbstractValueDescriptor
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
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.