public class CGCatchExpImpl extends CGCallExpImpl implements CGCatchExp
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.
|
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.
|
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 |
getTypedValue()
Return the CGValuedElement that provides the narrowest type declaration from which the type of this CGValuedElement may be obtained.
|
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 |
isEcore()
Return true if this value is an Ecore value.
|
boolean |
isSettable()
Return true if this value can be inlined as an expression term.
|
boolean |
isUnboxed()
Return true if this value is an unboxed value.
|
void |
setCaught(boolean isCaught)
Set the caught status.
|
basicSetSource, eGet, eInverseRemove, eIsSet, eSet, eUnset, getSource, isEquivalentToInternal, isGlobal, isInvalidating, isValidating, setInvalidating, setSource, setValidating, toString
getDependsOn, getInvalidValue, getOwns, getThisValue, getValueName, isAssertedNonNull, isCommonable, isConstant, isContext, isEquivalentTo, isFalse, isInlined, isInvalid, isNonInvalid, isNonNull, isNull, isTrue, isUncommonable, rewriteAs, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
getAst, getName, setAst, setName
eBasicSetContainer, getChildren, getParent
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSource, isInvalidating, isValidating, setInvalidating, setSource, setValidating
getDependsOn, getInvalidValue, getOwns, getThisValue, getValueName, isAssertedNonNull, isCommonable, isConstant, isEquivalentTo, isEquivalentToInternal, isFalse, isGlobal, isInlined, isInvalid, isNonInvalid, isNonNull, isNull, isTrue, isUncommonable, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
getAst, getName, setAst, setName
getChildren, getParent, isContext, rewriteAs
public <R> R accept(CGModelVisitor<R> visitor)
accept
in interface CGElement
accept
in class CGElementImpl
public EClassifier getEcoreClassifier()
getEcoreClassifier
in interface CGValuedElement
getEcoreClassifier
in class CGValuedElementImpl
public CGValuedElement getNamedValue()
getNamedValue
in interface CGValuedElement
getNamedValue
in class CGValuedElementImpl
public AbstractPlace getPlace(Map<CGElement,AbstractPlace> element2place)
getPlace
in interface CGElement
getPlace
in class CGValuedElementImpl
public CGValuedElement getReferredValue()
getReferredValue
in interface CGValuedElement
getReferredValue
in class CGValuedElementImpl
public CGValuedElement getSourceValue()
getSourceValue
in interface CGValuedElement
getSourceValue
in class CGValuedElementImpl
public CGValuedElement getTypedValue()
getTypedValue
in interface CGValuedElement
getTypedValue
in class CGValuedElementImpl
public boolean isBoxed()
isBoxed
in interface CGValuedElement
isBoxed
in class CGValuedElementImpl
public boolean isCaught()
isCaught
in interface CGValuedElement
isCaught
in class CGValuedElementImpl
public boolean isEcore()
isEcore
in interface CGValuedElement
isEcore
in class CGValuedElementImpl
public boolean isSettable()
isSettable
in interface CGValuedElement
isSettable
in class CGValuedElementImpl
public boolean isUnboxed()
isUnboxed
in interface CGValuedElement
isUnboxed
in class CGValuedElementImpl
public void setCaught(boolean isCaught)
setCaught
in interface CGValuedElement
setCaught
in class CGValuedElementImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.