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 interfaceInvocationImpl.InvocableAn abstraction of something that can be invoked, for example anEOperationor 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 protectedInvocationImpl()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description NotificationChainbasicSetName(Expression newName, NotificationChain msgs)protected java.lang.Class<?>box(java.lang.Class<?> type)protected abstract voidcollectInvocables(EvaluationContext context, java.lang.String name, java.util.List<InvocationImpl.Invocable> invocables)protected voidcollectMethods(java.lang.Object object, java.lang.Class<?> c, java.lang.String name, java.util.List<InvocationImpl.Invocable> invocables)protected InvocationImpl.InvocablecreateMethod(java.lang.Object object, java.lang.reflect.Method method)java.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)NotificationChaineInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)java.lang.ObjecteInvoke(int operationID, EList<?> arguments)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)protected EClasseStaticClass()protected inteStaticFeatureCount()voideUnset(int featureID)java.lang.Objectevaluate(EvaluationContext context)EList<Expression>getArguments()ExpressiongetName()protected java.lang.Class<?>[]getTypes(java.lang.Object[] objects)protected booleanisAssignable(java.lang.Class<?>[] parameterTypes, java.lang.Object[] arguments)protected InvocationImpl.InvocableselectInvocable(java.util.List<InvocationImpl.Invocable> invocables, java.lang.Object[] arguments)voidsetName(Expression newName)protected abstract booleanstaticModifier()-
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:
eStaticClassin classBasicEObjectImpl- Generated
-
eStaticFeatureCount
protected int eStaticFeatureCount()
- Overrides:
eStaticFeatureCountin classMinimalEStoreEObjectImpl- Generated
-
getArguments
public EList<Expression> getArguments()
- Specified by:
getArgumentsin interfaceInvocation- Returns:
- the value of the 'Arguments' containment reference list.
- See Also:
ExpressionsPackage.getInvocation_Arguments()- Generated
-
getName
public Expression getName()
- Specified by:
getNamein 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:
setNamein 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:
evaluatein 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:
eInverseRemovein classBasicEObjectImpl- Generated
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceInternalEObject- Overrides:
eGetin classBasicEObjectImpl- Generated
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSetin interfaceInternalEObject- Overrides:
eSetin classBasicEObjectImpl- Generated
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceInternalEObject- Overrides:
eUnsetin classBasicEObjectImpl- Generated
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceInternalEObject- Overrides:
eIsSetin classBasicEObjectImpl- Generated
-
eInvoke
public java.lang.Object eInvoke(int operationID, EList<?> arguments) throws java.lang.reflect.InvocationTargetException- Specified by:
eInvokein interfaceInternalEObject- Overrides:
eInvokein classBasicEObjectImpl- Throws:
java.lang.reflect.InvocationTargetException- Generated
-
-