Class InvocationImpl
- All Implemented Interfaces:
CDOObject
,CDOWithID
,CDOPackageTypeRegistry.CDOObjectMarker
,Expression
,Invocation
,Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,InternalCDOLoadable
,InternalCDOObject
- Direct Known Subclasses:
FunctionInvocationImpl
,MemberInvocationImpl
An implementation of the model object 'Invocation'.
The following features are implemented:
- Generated
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
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 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
-
Method Summary
Modifier and TypeMethodDescriptionbasicSetName
(Expression newName, NotificationChain msgs) protected Class<?>
protected abstract void
collectInvocables
(EvaluationContext context, String name, List<InvocationImpl.Invocable> invocables) protected void
collectMethods
(Object object, Class<?> c, String name, List<InvocationImpl.Invocable> invocables) protected InvocationImpl.Invocable
createMethod
(Object object, Method method) eGet
(int featureID, boolean resolve, boolean coreType) eInverseRemove
(InternalEObject otherEnd, int featureID, NotificationChain msgs) boolean
eIsSet
(int featureID) void
protected EClass
protected int
void
eUnset
(int featureID) evaluate
(EvaluationContext context) getName()
protected Class<?>[]
protected boolean
isAssignable
(Class<?>[] parameterTypes, Object[] arguments) protected InvocationImpl.Invocable
selectInvocable
(List<InvocationImpl.Invocable> invocables, Object[] arguments) void
setName
(Expression newName) protected abstract boolean
Methods inherited from class org.eclipse.emf.internal.cdo.CDOObjectImpl
cdoClassInfo, cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInternalDynamicFeature, cdoInternalInstance, cdoInternalPostAttach, cdoInternalPostDetach, 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, eAdapters, 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
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
-
Constructor Details
-
InvocationImpl
protected InvocationImpl()- Generated
-
-
Method Details
-
eStaticClass
- Overrides:
eStaticClass
in classBasicEObjectImpl
- Generated
-
eStaticFeatureCount
protected int eStaticFeatureCount()- Overrides:
eStaticFeatureCount
in classMinimalEStoreEObjectImpl
- Generated
-
getArguments
- Specified by:
getArguments
in interfaceInvocation
- Returns:
- the value of the 'Arguments' containment reference list.
- See Also:
- Generated
-
getName
- Specified by:
getName
in interfaceInvocation
- Returns:
- the value of the 'Name' containment reference.
- See Also:
- Generated
-
basicSetName
- Generated
-
setName
- Specified by:
setName
in interfaceInvocation
- Parameters:
newName
- the new value of the 'Name' containment reference.- See Also:
- Generated
-
evaluate
- Specified by:
evaluate
in interfaceExpression
- Generated
- NOT
-
staticModifier
protected abstract boolean staticModifier() -
collectInvocables
protected abstract void collectInvocables(EvaluationContext context, String name, List<InvocationImpl.Invocable> invocables) -
collectMethods
protected void collectMethods(Object object, Class<?> c, String name, List<InvocationImpl.Invocable> invocables) -
createMethod
-
selectInvocable
protected InvocationImpl.Invocable selectInvocable(List<InvocationImpl.Invocable> invocables, Object[] arguments) -
isAssignable
-
box
-
getTypes
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - Overrides:
eInverseRemove
in classBasicEObjectImpl
- Generated
-
eGet
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classBasicEObjectImpl
- Generated
-
eSet
- 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
- Specified by:
eInvoke
in interfaceInternalEObject
- Overrides:
eInvoke
in classBasicEObjectImpl
- Throws:
InvocationTargetException
- Generated
-