public class CGLocalVariableImpl extends CGVariableImpl implements CGLocalVariable
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.
|
CGValuedElement |
getNamedValue()
Return the CGValuedElement that provides the name of a declaration from which the value of this CGValuedElement may be obtained.
|
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.
|
basicSetInit, eGet, eInverseRemove, eIsSet, eSet, eUnset, getEcoreClassifier, getInit, getInvalidValue, getReferredValue, getSourceValue, isBoxed, isCommonable, isEcore, isEquivalentTo, isEquivalentToInternal, isNonInvalid, isNonNull, isNull, isUnboxed, setInit, setNonInvalid, setNonNull
getDependsOn, getOwns, getPlace, getThisValue, isAssertedNonNull, isCaught, isConstant, isContext, isFalse, isGlobal, isInlined, isInvalid, isSettable, isTrue, isUncommonable, rewriteAs, setCaught, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId, toString
getAst, getName, setAst, setName
eBasicSetContainer, getChildren, getParent
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInit, setInit, setNonInvalid, setNonNull
getDependsOn, getEcoreClassifier, getInvalidValue, getOwns, getReferredValue, getSourceValue, getThisValue, isAssertedNonNull, isBoxed, isCaught, isCommonable, isConstant, isEcore, isEquivalentTo, isEquivalentToInternal, isFalse, isGlobal, isInlined, isInvalid, isNonInvalid, isNonNull, isNull, isSettable, isTrue, isUnboxed, isUncommonable, setCaught, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
getAst, getName, setAst, setName
public <R> R accept(CGModelVisitor<R> visitor)
accept
in interface CGElement
accept
in class CGElementImpl
public CGValuedElement getNamedValue()
getNamedValue
in interface CGValuedElement
getNamedValue
in class CGVariableImpl
public CGValuedElement getTypedValue()
getTypedValue
in interface CGValuedElement
getTypedValue
in class CGVariableImpl
public String getValueName()
getValueName
in interface CGValuedElement
getValueName
in class CGValuedElementImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.