public abstract class AbstractPrimitiveDescriptor extends SimpleValueDescriptor implements SimpleDescriptor
AbstractDescriptor.NamedFuture
javaClass
elementId
Constructor and Description |
---|
AbstractPrimitiveDescriptor(ElementId elementId,
java.lang.Class<?> javaClass) |
Modifier and Type | Method and Description |
---|---|
void |
append(JavaStream js,
java.lang.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,
java.lang.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, isBoxedType, isPrimitive, reClass
clone, equals, finalize, 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 AbstractPrimitiveDescriptor(@NonNull ElementId elementId, @NonNull java.lang.Class<?> javaClass)
public void append(@NonNull JavaStream js, @Nullable java.lang.Boolean isRequired)
TypeDescriptor
append
in interface TypeDescriptor
append
in class AbstractValueDescriptor
public void appendNotEqualsTerm(@NonNull JavaStream js, @NonNull CGValuedElement thisValue, @NonNull TypeDescriptor thatTypeDescriptor, @NonNull java.lang.String thatName)
TypeDescriptor
appendNotEqualsTerm
in interface TypeDescriptor
appendNotEqualsTerm
in class AbstractDescriptor
public void appendEqualsValue(@NonNull JavaStream js, @NonNull CGValuedElement thisValue, @NonNull CGValuedElement thatValue, boolean notEquals)
TypeDescriptor
appendEqualsValue
in interface TypeDescriptor
appendEqualsValue
in class AbstractDescriptor