Class InvocationImpl
- java.lang.Object
-
- All Implemented Interfaces:
CDOObject
,CDOWithID
,CDOPackageTypeRegistry.CDOObjectMarker
,Expression
,Invocation
,Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,InternalCDOLoadable
,InternalCDOObject
- Direct Known Subclasses:
FunctionInvocationImpl
,MemberInvocationImpl
public abstract class InvocationImpl extends CDOObjectImpl implements Invocation
An implementation of the model object 'Invocation'.The following features are implemented:
- Generated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
InvocationImpl.Invocable
An abstraction of something that can be invoked, for example anEOperation
or aMethod
.-
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 java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
-
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
InvocationImpl()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description NotificationChain
basicSetName(Expression newName, NotificationChain msgs)
protected java.lang.Class<?>
box(java.lang.Class<?> type)
protected abstract void
collectInvocables(EvaluationContext context, java.lang.String name, java.util.List<InvocationImpl.Invocable> invocables)
protected void
collectMethods(java.lang.Object object, java.lang.Class<?> c, java.lang.String name, java.util.List<InvocationImpl.Invocable> invocables)
protected InvocationImpl.Invocable
createMethod(java.lang.Object object, java.lang.reflect.Method method)
java.lang.Object
eGet(int featureID, boolean resolve, boolean coreType)
NotificationChain
eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
java.lang.Object
eInvoke(int operationID, EList<?> arguments)
boolean
eIsSet(int featureID)
void
eSet(int featureID, java.lang.Object newValue)
protected EClass
eStaticClass()
protected int
eStaticFeatureCount()
void
eUnset(int featureID)
java.lang.Object
evaluate(EvaluationContext context)
EList<Expression>
getArguments()
Expression
getName()
protected java.lang.Class<?>[]
getTypes(java.lang.Object[] objects)
protected boolean
isAssignable(java.lang.Class<?>[] parameterTypes, java.lang.Object[] arguments)
protected InvocationImpl.Invocable
selectInvocable(java.util.List<InvocationImpl.Invocable> invocables, java.lang.Object[] arguments)
void
setName(Expression newName)
protected abstract boolean
staticModifier()
-
Methods inherited from class org.eclipse.emf.internal.cdo.CDOObjectImpl
cdoClassInfo, cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInternalDynamicFeature, cdoInternalInstance, cdoInternalPostAttach, cdoInternalPostDetach, cdoInternalPostInvalidate, cdoInternalPostLoad, cdoInternalPostRollback, cdoInternalPreAttach, cdoInternalPreCommit, cdoInternalPreLoad, cdoInternalSetID, cdoInternalSetResource, cdoInternalSetRevision, cdoInternalSetState, cdoInternalSetView, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption, createFeatureMap, createList, createLock, createMap, createOrderedList, createUnorderedList, dynamicGet, dynamicSet, dynamicUnset, eAdapterAdded, eAdapterRemoved, eBasicAdapterListeners, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetSettings, eBasicSettings, eClass, eContainerAdapterArray, eContainerFeatureID, eDirectResource, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicIsSet, eHasSettings, eInternalContainer, eInternalResource, eIsCaching, emfToString, equals, eSetClass, eSetDirectResource, eSetResource, eSettings, eStore, getLockState, hashCode, instanceToRevisionFeature, revisionToInstanceFeature, toString
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
eBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureID
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eIsProxy, eProperties, eProxyURI, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticOperationCount, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoState, cdoWriteLock, cdoWriteOption
-
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
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eDerivedOperationID, eDerivedStructuralFeatureID, eGet, eInverseAdd, eInverseRemove, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetProxyURI, eSetStore, eSetting, eURIFragmentSegment
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classBasicEObjectImpl
- Generated
-
eStaticFeatureCount
protected int eStaticFeatureCount()
- Overrides:
eStaticFeatureCount
in classMinimalEStoreEObjectImpl
- Generated
-
getArguments
public EList<Expression> getArguments()
- Specified by:
getArguments
in interfaceInvocation
- Returns:
- the value of the 'Arguments' containment reference list.
- See Also:
ExpressionsPackage.getInvocation_Arguments()
- Generated
-
getName
public Expression getName()
- Specified by:
getName
in interfaceInvocation
- Returns:
- the value of the 'Name' containment reference.
- See Also:
Invocation.setName(Expression)
,ExpressionsPackage.getInvocation_Name()
- Generated
-
basicSetName
public NotificationChain basicSetName(Expression newName, NotificationChain msgs)
- Generated
-
setName
public void setName(Expression newName)
- Specified by:
setName
in interfaceInvocation
- Parameters:
newName
- the new value of the 'Name' containment reference.- See Also:
Invocation.getName()
- Generated
-
evaluate
public java.lang.Object evaluate(EvaluationContext context)
- Specified by:
evaluate
in interfaceExpression
- Generated
- NOT
-
staticModifier
protected abstract boolean staticModifier()
-
collectInvocables
protected abstract void collectInvocables(EvaluationContext context, java.lang.String name, java.util.List<InvocationImpl.Invocable> invocables)
-
collectMethods
protected void collectMethods(java.lang.Object object, java.lang.Class<?> c, java.lang.String name, java.util.List<InvocationImpl.Invocable> invocables)
-
createMethod
protected InvocationImpl.Invocable createMethod(java.lang.Object object, java.lang.reflect.Method method)
-
selectInvocable
protected InvocationImpl.Invocable selectInvocable(java.util.List<InvocationImpl.Invocable> invocables, java.lang.Object[] arguments)
-
isAssignable
protected boolean isAssignable(java.lang.Class<?>[] parameterTypes, java.lang.Object[] arguments)
-
box
protected java.lang.Class<?> box(java.lang.Class<?> type)
-
getTypes
protected java.lang.Class<?>[] getTypes(java.lang.Object[] objects)
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemove
in classBasicEObjectImpl
- Generated
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classBasicEObjectImpl
- Generated
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classBasicEObjectImpl
- Generated
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classBasicEObjectImpl
- Generated
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classBasicEObjectImpl
- Generated
-
eInvoke
public java.lang.Object eInvoke(int operationID, EList<?> arguments) throws java.lang.reflect.InvocationTargetException
- Specified by:
eInvoke
in interfaceInternalEObject
- Overrides:
eInvoke
in classBasicEObjectImpl
- Throws:
java.lang.reflect.InvocationTargetException
- Generated
-
-