public class CGNullImpl extends CGConstantImpl implements CGNull
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(CGModelVisitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
Object |
getConstantValue()
Return the constant (boxed) value of this element.
|
Boolean |
isEquivalentToInternal(CGValuedElement thatValue)
Provided that thatValue does not delegate its equivalence computation, return true/false if this value can be determined to have deep value equivalence/inequivalence to thatValue, null if no determination can be made.
|
boolean |
isInlined()
Return true if this value is inlined and so has no local or global declaration.
|
boolean |
isNonNull()
Return true if this value is not null.
|
boolean |
isNull()
Return true if this value is null.
|
getInvalidValue, isBoxed, isCommonable, isConstant, isEcore, isFalse, isGlobal, isNonInvalid, isTrue, isUnboxedeGet, 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, setNameeBasicSetContainer, getChildren, getParentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDependsOn, getEcoreClassifier, getInvalidValue, getNamedValue, getOwns, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isBoxed, isCaught, isCommonable, isConstant, isEcore, isEquivalentTo, isFalse, isGlobal, isInvalid, isNonInvalid, isSettable, isTrue, isUnboxed, isUncommonable, setCaught, setValueNamegetASTypeId, getTypeId, isRequired, setRequired, setTypeIdgetAst, getName, setAst, setNamepublic <R> R accept(CGModelVisitor<R> visitor)
accept in interface CGElementaccept in class CGElementImplpublic Object getConstantValue()
getConstantValue in interface CGConstantpublic Boolean isEquivalentToInternal(CGValuedElement thatValue)
isEquivalentToInternal in interface CGValuedElementpublic boolean isInlined()
isInlined in interface CGValuedElementisInlined in class CGConstantImplpublic boolean isNonNull()
isNonNull in interface CGValuedElementisNonNull in class CGConstantImplpublic boolean isNull()
isNull in interface CGValuedElementisNull in class CGConstantImplCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.