public abstract class CGValuedElementImpl extends CGTypedElementImpl implements CGValuedElement
The following features are implemented:
| Modifier and Type | Method and Description |
|---|---|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
List<CGValuedElement> |
getDependsOn() |
EClassifier |
getEcoreClassifier()
Return a non-null EClassifier if this value has a known EClassifier to define its instance class.
|
CGInvalid |
getInvalidValue()
Return a non-null invalid value if this value is invalid.
|
CGValuedElement |
getNamedValue()
Return the CGValuedElement that provides the name of a declaration from which the value of this CGValuedElement may be obtained.
|
List<CGValuedElement> |
getOwns() |
AbstractPlace |
getPlace(Map<CGElement,AbstractPlace> element2place)
Returns the place for this element, updating and reusing element2place as required.
|
CGValuedElement |
getReferredValue()
Return the CGValuedElement to which the value of this CGValuedElement delegates.
|
CGValuedElement |
getSourceValue()
Return the CGValuedElement which is the source of the information value of this element.
|
CGValuedElement |
getThisValue()
Return a simpler CGValuedElement that is fully equivalent to this element.
|
CGValuedElement |
getTypedValue()
Return the CGValuedElement that provides the narrowest type declaration from which the type of this CGValuedElement may be obtained.
|
String |
getValueName()
Return the declared name value of this element.
|
boolean |
isAssertedNonNull()
Return true if this value is not null, possibly with the aid of an assertion.
|
boolean |
isBoxed()
Return true if this value is a boxed value.
|
boolean |
isCaught()
Returns true if any exception associated with this value has been caught and consequently the value may be an InvalidValueException.
|
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 |
isContext()
Returns true if this node may have its own symbol name context.
|
boolean |
isEcore()
Return true if this value is an Ecore value.
|
Boolean |
isEquivalentTo(CGValuedElement thatValue)
Returns true/false if this value can be determined to have deep value equivalence/inequivalence to thatValue, null if no determination can be made.
|
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 |
isInvalid()
Return true if this value is false.
|
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 |
isSettable()
Return true if this value can be inlined as an expression term.
|
boolean |
isTrue()
Return true if this value is true.
|
boolean |
isUnboxed()
Return true if this value is an unboxed value.
|
boolean |
isUncommonable()
Return true if this value does not have to be shared as part of a Common Subexpression.
|
boolean |
rewriteAs(CGValuedElement oldValue,
CGValuedElement newValue)
Rewrite the reference to oldValue by newValue.
|
void |
setCaught(boolean isCaught)
Set the caught status.
|
void |
setValueName(String valueName)
Set the name of the value.
|
getASTypeId, getTypeId, isRequired, setRequired, setTypeId, toStringgetAst, getName, setAst, setNameaccept, eBasicSetContainer, getChildren, getParentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitisEquivalentToInternalgetASTypeId, getTypeId, isRequired, setRequired, setTypeIdgetAst, getName, setAst, setNameaccept, getChildren, getParentpublic List<CGValuedElement> getDependsOn()
getDependsOn in interface CGValuedElementCGModelPackage.getCGValuedElement_DependsOn()public List<CGValuedElement> getOwns()
getOwns in interface CGValuedElementCGModelPackage.getCGValuedElement_Owns()public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in class CGTypedElementImplpublic void eSet(int featureID,
Object newValue)
eSet in class CGTypedElementImplpublic void eUnset(int featureID)
eUnset in class CGTypedElementImplpublic boolean eIsSet(int featureID)
eIsSet in class CGTypedElementImplpublic EClassifier getEcoreClassifier()
getEcoreClassifier in interface CGValuedElementpublic CGInvalid getInvalidValue()
getInvalidValue in interface CGValuedElementpublic AbstractPlace getPlace(Map<CGElement,AbstractPlace> element2place)
getPlace in interface CGElementgetPlace in class CGElementImplpublic CGValuedElement getReferredValue()
getReferredValue in interface CGValuedElementpublic CGValuedElement getSourceValue()
getSourceValue in interface CGValuedElementpublic CGValuedElement getThisValue()
getThisValue in interface CGValuedElementpublic CGValuedElement getNamedValue()
getNamedValue in interface CGValuedElementpublic CGValuedElement getTypedValue()
getTypedValue in interface CGValuedElementpublic String getValueName()
getValueName in interface CGValuedElementpublic boolean isAssertedNonNull()
isAssertedNonNull in interface CGValuedElementpublic boolean isBoxed()
isBoxed in interface CGValuedElementpublic boolean isCaught()
isCaught in interface CGValuedElementpublic boolean isCommonable()
isCommonable in interface CGValuedElementpublic boolean isConstant()
isConstant in interface CGValuedElementpublic boolean isContext()
isContext in interface CGElementisContext in class CGElementImplpublic boolean isEcore()
isEcore in interface CGValuedElementpublic Boolean isEquivalentTo(CGValuedElement thatValue)
isEquivalentTo in interface CGValuedElementpublic boolean isFalse()
isFalse in interface CGValuedElementpublic boolean isGlobal()
isGlobal in interface CGValuedElementpublic boolean isInlined()
isInlined in interface CGValuedElementpublic boolean isInvalid()
isInvalid in interface CGValuedElementpublic boolean isNonInvalid()
isNonInvalid in interface CGValuedElementpublic boolean isNonNull()
isNonNull in interface CGValuedElementpublic boolean isNull()
isNull in interface CGValuedElementpublic boolean isSettable()
isSettable in interface CGValuedElementpublic boolean isTrue()
isTrue in interface CGValuedElementpublic boolean isUnboxed()
isUnboxed in interface CGValuedElementpublic boolean isUncommonable()
isUncommonable in interface CGValuedElementpublic boolean rewriteAs(CGValuedElement oldValue, CGValuedElement newValue)
rewriteAs in interface CGElementrewriteAs in class CGElementImplpublic void setCaught(boolean isCaught)
setCaught in interface CGValuedElementpublic void setValueName(String valueName)
setValueName in interface CGValuedElementCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.