Class CastExpressionImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.emftext.language.java.commons.impl.CommentableImpl
-
- org.emftext.language.java.types.impl.TypedElementImpl
-
- org.emftext.language.java.expressions.impl.CastExpressionImpl
-
- All Implemented Interfaces:
Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,AnnotationValue
,ArrayInitializationValue
,Commentable
,AdditiveExpressionChild
,AndExpressionChild
,AssignmentExpressionChild
,CastExpression
,ConditionalAndExpressionChild
,ConditionalExpressionChild
,ConditionalOrExpressionChild
,EqualityExpressionChild
,ExclusiveOrExpressionChild
,Expression
,InclusiveOrExpressionChild
,InstanceOfExpressionChild
,LambdaBody
,MultiplicativeExpressionChild
,RelationExpressionChild
,ShiftExpressionChild
,UnaryExpressionChild
,UnaryModificationExpressionChild
,TypedElement
public class CastExpressionImpl extends TypedElementImpl implements CastExpression
An implementation of the model object 'Cast Expression'.The following features are implemented:
- Generated class or method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
Fields Modifier and Type Field Description protected EList<TypeReference>
additionalBounds
The cached value of the 'Additional Bounds
' containment reference list.protected Expression
generalChild
The cached value of the 'General Child
' containment reference.-
Fields inherited from class org.emftext.language.java.types.impl.TypedElementImpl
typeReference
-
Fields inherited from class org.emftext.language.java.commons.impl.CommentableImpl
layoutInformations
-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
-
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CastExpressionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
basicGetGeneralChild()
NotificationChain
basicSetGeneralChild(Expression newGeneralChild, NotificationChain msgs)
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)
protected EClass
eStaticClass()
void
eUnset(int featureID)
EList<TypeReference>
getAdditionalBounds()
Type
getAlternativeType()
long
getArrayDimension()
MultiplicativeExpressionChild
getChild()
Expression
getGeneralChild()
Type
getOneType(boolean alternative)
TypeReference
getOneTypeReference(boolean alternative)
Type
getType()
void
setChild(MultiplicativeExpressionChild newChild)
void
setGeneralChild(Expression newGeneralChild)
-
Methods inherited from class org.emftext.language.java.types.impl.TypedElementImpl
basicGetTypeReference, basicSetTypeReference, getTypeReference, setTypeReference
-
Methods inherited from class org.emftext.language.java.commons.impl.CommentableImpl
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eInternalContainer, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.emftext.language.java.commons.Commentable
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.emftext.language.java.types.TypedElement
getTypeReference, setTypeReference
-
-
-
-
Field Detail
-
additionalBounds
protected EList<TypeReference> additionalBounds
The cached value of the 'Additional Bounds
' containment reference list.- See Also:
getAdditionalBounds()
- Generated class or method.
- Ordered collection.
-
generalChild
protected Expression generalChild
The cached value of the 'General Child
' containment reference.- See Also:
getGeneralChild()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classTypedElementImpl
- Generated class or method.
-
getAdditionalBounds
public EList<TypeReference> getAdditionalBounds()
- Specified by:
getAdditionalBounds
in interfaceCastExpression
- Returns:
- the value of the 'Additional Bounds' containment reference list.
- See Also:
ExpressionsPackage.getCastExpression_AdditionalBounds()
- Generated class or method.
-
getGeneralChild
public Expression getGeneralChild()
- Specified by:
getGeneralChild
in interfaceCastExpression
- Returns:
- the value of the 'General Child' containment reference.
- See Also:
CastExpression.setGeneralChild(Expression)
,ExpressionsPackage.getCastExpression_GeneralChild()
- Generated class or method.
-
basicGetGeneralChild
public Expression basicGetGeneralChild()
- Generated class or method.
-
basicSetGeneralChild
public NotificationChain basicSetGeneralChild(Expression newGeneralChild, NotificationChain msgs)
- Generated class or method.
-
setGeneralChild
public void setGeneralChild(Expression newGeneralChild)
- Specified by:
setGeneralChild
in interfaceCastExpression
- Parameters:
newGeneralChild
- the new value of the 'General Child' containment reference.- See Also:
CastExpression.getGeneralChild()
- Generated class or method.
-
getChild
public MultiplicativeExpressionChild getChild()
- Specified by:
getChild
in interfaceCastExpression
- Generated class or method.
-
setChild
public void setChild(MultiplicativeExpressionChild newChild)
- Specified by:
setChild
in interfaceCastExpression
- Generated class or method.
-
getType
public Type getType()
- Specified by:
getType
in interfaceExpression
- Generated class or method.
-
getAlternativeType
public Type getAlternativeType()
- Specified by:
getAlternativeType
in interfaceExpression
- Generated class or method.
-
getOneType
public Type getOneType(boolean alternative)
- Specified by:
getOneType
in interfaceExpression
- Generated class or method.
-
getArrayDimension
public long getArrayDimension()
- Specified by:
getArrayDimension
in interfaceExpression
- Generated class or method.
-
getOneTypeReference
public TypeReference getOneTypeReference(boolean alternative)
- Specified by:
getOneTypeReference
in interfaceExpression
- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemove
in classTypedElementImpl
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classTypedElementImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classTypedElementImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classTypedElementImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classTypedElementImpl
- Generated class or method.
-
-