public class CGVariableExpImpl extends CGValuedElementImpl implements CGVariableExp
The following features are implemented:
| 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 |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
EClassifier |
getEcoreClassifier()
Return a non-null EClassifier if this value has a known EClassifier to define its instance class.
|
CGValuedElement |
getNamedValue()
Return the CGValuedElement that provides the name of a declaration from which the value of this CGValuedElement may be obtained.
|
CGValuedElement |
getReferredValue()
Return the CGValuedElement to which the value of this CGValuedElement delegates.
|
CGVariable |
getReferredVariable() |
CGValuedElement |
getSourceValue()
Return the CGValuedElement which is the source of the information value of 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 |
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 |
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 |
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 |
isUnboxed()
Return true if this value is an unboxed value.
|
void |
setReferredVariable(CGVariable newReferredVariable) |
eInverseRemove, getDependsOn, getInvalidValue, getOwns, getPlace, getThisValue, isAssertedNonNull, isCaught, isConstant, isContext, isFalse, isGlobal, isInlined, isInvalid, isNonInvalid, isNonNull, isNull, isSettable, isTrue, isUncommonable, rewriteAs, setCaught, setValueNamegetASTypeId, getTypeId, isRequired, setRequired, setTypeId, toStringgetAst, getName, setAst, setNameeBasicSetContainer, getChildren, getParentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDependsOn, getInvalidValue, getOwns, getThisValue, isAssertedNonNull, isCaught, isConstant, isFalse, isGlobal, isInlined, isInvalid, isNonInvalid, isNonNull, isNull, isSettable, isTrue, isUncommonable, setCaught, setValueNamegetASTypeId, getTypeId, isRequired, setRequired, setTypeIdgetAst, getName, setAst, setNamepublic CGVariable getReferredVariable()
getReferredVariable in interface CGVariableExpCGVariableExp.setReferredVariable(CGVariable),
CGModelPackage.getCGVariableExp_ReferredVariable()public void setReferredVariable(CGVariable newReferredVariable)
setReferredVariable in interface CGVariableExpnewReferredVariable - the new value of the 'Referred Variable' reference.CGVariableExp.getReferredVariable()public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in class CGValuedElementImplpublic void eSet(int featureID,
Object newValue)
eSet in class CGValuedElementImplpublic void eUnset(int featureID)
eUnset in class CGValuedElementImplpublic boolean eIsSet(int featureID)
eIsSet in class CGValuedElementImplpublic <R> R accept(CGModelVisitor<R> visitor)
accept in interface CGElementaccept in class CGElementImplpublic EClassifier getEcoreClassifier()
getEcoreClassifier in interface CGValuedElementgetEcoreClassifier in class CGValuedElementImplpublic CGValuedElement getSourceValue()
getSourceValue in interface CGValuedElementgetSourceValue in class CGValuedElementImplpublic CGValuedElement getNamedValue()
getNamedValue in interface CGValuedElementgetNamedValue in class CGValuedElementImplpublic CGValuedElement getReferredValue()
getReferredValue in interface CGValuedElementgetReferredValue in class CGValuedElementImplpublic CGValuedElement getTypedValue()
getTypedValue in interface CGValuedElementgetTypedValue in class CGValuedElementImplpublic String getValueName()
getValueName in interface CGValuedElementgetValueName in class CGValuedElementImplpublic boolean isBoxed()
isBoxed in interface CGValuedElementisBoxed in class CGValuedElementImplpublic boolean isCommonable()
isCommonable in interface CGValuedElementisCommonable in class CGValuedElementImplpublic boolean isEcore()
isEcore in interface CGValuedElementisEcore in class CGValuedElementImplpublic Boolean isEquivalentTo(CGValuedElement thatValue)
isEquivalentTo in interface CGValuedElementisEquivalentTo in class CGValuedElementImplpublic Boolean isEquivalentToInternal(CGValuedElement thatValue)
isEquivalentToInternal in interface CGValuedElementpublic boolean isUnboxed()
isUnboxed in interface CGValuedElementisUnboxed in class CGValuedElementImplCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.