public abstract class CGConstantImpl extends CGValuedElementImpl implements CGConstant
| Modifier and Type | Field and Description |
|---|---|
static int |
CG_CONSTANT_FEATURE_COUNT
The number of structural features of the 'CG Constant' class.
|
CG_VALUED_ELEMENT_FEATURE_COUNTCG_TYPED_ELEMENT_FEATURE_COUNTCG_NAMED_ELEMENT_FEATURE_COUNTCG_ELEMENT_FEATURE_COUNT| Modifier and Type | Method and Description |
|---|---|
CGInvalid |
getInvalidValue()
Return a non-null invalid value if this value is invalid.
|
boolean |
isBoxed()
Return true if this value is a boxed value.
|
boolean |
isCommonable()
Return true if this value can be shared as part of a Common Subexpression.
|
boolean |
isConstant()
Return true if this value is a local constant (dependent of the user type system).
|
boolean |
isEcore()
Return true if this value is an Ecore value.
|
boolean |
isFalse()
Return true if this value is false.
|
boolean |
isGlobal()
Return true if this value is a global constant (independent of the user type system).
|
boolean |
isInlined()
Return true if this value is inlined and so has no local or global declaration.
|
boolean |
isNonInvalid()
Return true if this value is false.
|
boolean |
isNonNull()
Return true if this value is not null.
|
boolean |
isNull()
Return true if this value is null.
|
boolean |
isTrue()
Return true if this value is true.
|
boolean |
isUnboxed()
Return true if this value is an unboxed value.
|
eGet, eInverseRemove, eIsSet, eSet, eUnset, getDependsOn, getEcoreClassifier, getNamedValue, getOwns, getPlace, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isCaught, isContext, isEquivalentTo, isInvalid, isSettable, isUncommonable, rewriteAs, setCaught, setValueNamegetASTypeId, getTypeId, isRequired, setRequired, setTypeId, toStringgetAst, getName, setAst, setNameaccept, eBasicSetContainer, getChildren, getParentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConstantValuegetDependsOn, getEcoreClassifier, getNamedValue, getOwns, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isCaught, isEquivalentTo, isEquivalentToInternal, isInvalid, isSettable, isUncommonable, setCaught, setValueNamegetASTypeId, getTypeId, isRequired, setRequired, setTypeIdgetAst, getName, setAst, setNamepublic static final int CG_CONSTANT_FEATURE_COUNT
public CGInvalid getInvalidValue()
getInvalidValue in interface CGValuedElementgetInvalidValue in class CGValuedElementImplpublic boolean isBoxed()
isBoxed in interface CGValuedElementisBoxed in class CGValuedElementImplpublic boolean isCommonable()
isCommonable in interface CGValuedElementisCommonable in class CGValuedElementImplpublic boolean isConstant()
isConstant in interface CGValuedElementisConstant in class CGValuedElementImplpublic boolean isEcore()
isEcore in interface CGValuedElementisEcore in class CGValuedElementImplpublic boolean isFalse()
isFalse in interface CGValuedElementisFalse in class CGValuedElementImplpublic boolean isGlobal()
isGlobal in interface CGValuedElementisGlobal in class CGValuedElementImplpublic boolean isInlined()
isInlined in interface CGValuedElementisInlined in class CGValuedElementImplpublic boolean isNonInvalid()
isNonInvalid in interface CGValuedElementisNonInvalid in class CGValuedElementImplpublic boolean isNonNull()
isNonNull in interface CGValuedElementisNonNull in class CGValuedElementImplpublic boolean isNull()
isNull in interface CGValuedElementisNull in class CGValuedElementImplpublic boolean isTrue()
isTrue in interface CGValuedElementisTrue in class CGValuedElementImplpublic boolean isUnboxed()
isUnboxed in interface CGValuedElementisUnboxed in class CGValuedElementImplCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.