Class InvocationImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
-
- org.eclipse.emf.internal.cdo.CDOObjectImpl
-
- org.eclipse.emf.cdo.expressions.impl.InvocationImpl
-
- All Implemented Interfaces:
CDOObject,CDOWithID,CDOPackageTypeRegistry.CDOObjectMarker,Expression,Invocation,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.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
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedInvocationImpl()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChainbasicSetName(Expression newName, org.eclipse.emf.common.notify.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)org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)java.lang.ObjecteInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()protected inteStaticFeatureCount()voideUnset(int featureID)java.lang.Objectevaluate(EvaluationContext context)org.eclipse.emf.common.util.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, 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
-
-
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClassin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated
-
eStaticFeatureCount
protected int eStaticFeatureCount()
- Overrides:
eStaticFeatureCountin classorg.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl- Generated
-
getArguments
public org.eclipse.emf.common.util.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 org.eclipse.emf.common.notify.NotificationChain basicSetName(Expression newName, org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseRemovein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated
-
eInvoke
public java.lang.Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws java.lang.reflect.InvocationTargetException- Specified by:
eInvokein interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eInvokein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Throws:
java.lang.reflect.InvocationTargetException- Generated
-
-