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, toString
getAst, getName, setAst, setName
accept, eBasicSetContainer, getChildren, getParent
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
isEquivalentToInternal
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
getAst, getName, setAst, setName
accept, getChildren, getParent
public List<CGValuedElement> getDependsOn()
getDependsOn
in interface CGValuedElement
CGModelPackage.getCGValuedElement_DependsOn()
public List<CGValuedElement> getOwns()
getOwns
in interface CGValuedElement
CGModelPackage.getCGValuedElement_Owns()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class CGTypedElementImpl
public void eSet(int featureID, Object newValue)
eSet
in class CGTypedElementImpl
public void eUnset(int featureID)
eUnset
in class CGTypedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in class CGTypedElementImpl
public EClassifier getEcoreClassifier()
getEcoreClassifier
in interface CGValuedElement
public CGInvalid getInvalidValue()
getInvalidValue
in interface CGValuedElement
public AbstractPlace getPlace(Map<CGElement,AbstractPlace> element2place)
getPlace
in interface CGElement
getPlace
in class CGElementImpl
public CGValuedElement getReferredValue()
getReferredValue
in interface CGValuedElement
public CGValuedElement getSourceValue()
getSourceValue
in interface CGValuedElement
public CGValuedElement getThisValue()
getThisValue
in interface CGValuedElement
public CGValuedElement getNamedValue()
getNamedValue
in interface CGValuedElement
public CGValuedElement getTypedValue()
getTypedValue
in interface CGValuedElement
public String getValueName()
getValueName
in interface CGValuedElement
public boolean isAssertedNonNull()
isAssertedNonNull
in interface CGValuedElement
public boolean isBoxed()
isBoxed
in interface CGValuedElement
public boolean isCaught()
isCaught
in interface CGValuedElement
public boolean isCommonable()
isCommonable
in interface CGValuedElement
public boolean isConstant()
isConstant
in interface CGValuedElement
public boolean isContext()
isContext
in interface CGElement
isContext
in class CGElementImpl
public boolean isEcore()
isEcore
in interface CGValuedElement
public Boolean isEquivalentTo(CGValuedElement thatValue)
isEquivalentTo
in interface CGValuedElement
public boolean isFalse()
isFalse
in interface CGValuedElement
public boolean isGlobal()
isGlobal
in interface CGValuedElement
public boolean isInlined()
isInlined
in interface CGValuedElement
public boolean isInvalid()
isInvalid
in interface CGValuedElement
public boolean isNonInvalid()
isNonInvalid
in interface CGValuedElement
public boolean isNonNull()
isNonNull
in interface CGValuedElement
public boolean isNull()
isNull
in interface CGValuedElement
public boolean isSettable()
isSettable
in interface CGValuedElement
public boolean isTrue()
isTrue
in interface CGValuedElement
public boolean isUnboxed()
isUnboxed
in interface CGValuedElement
public boolean isUncommonable()
isUncommonable
in interface CGValuedElement
public boolean rewriteAs(CGValuedElement oldValue, CGValuedElement newValue)
rewriteAs
in interface CGElement
rewriteAs
in class CGElementImpl
public void setCaught(boolean isCaught)
setCaught
in interface CGValuedElement
public void setValueName(String valueName)
setValueName
in interface CGValuedElement
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.