com.ibm.wala.ecore.java.impl
Class ECallSiteImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by com.ibm.wala.ecore.common.impl.EObjectWithContainerIdImpl
                  extended by com.ibm.wala.ecore.java.impl.ECallSiteImpl
All Implemented Interfaces:
EObjectWithContainerId, ECallSite, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class ECallSiteImpl
extends EObjectWithContainerIdImpl
implements ECallSite

An implementation of the model object 'ECall Site'.

The following features are implemented:


Nested Class Summary
 
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>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected static int BYTECODE_INDEX_EDEFAULT
          The default value of the 'Bytecode Index' attribute.
protected  int bytecodeIndex
          The cached value of the 'Bytecode Index' attribute.
protected  EJavaMethod declaredTarget
          The cached value of the 'Declared Target' reference.
protected  EJavaMethod javaMethod
          The cached value of the 'Java Method' reference.
 
Fields inherited from class com.ibm.wala.ecore.common.impl.EObjectWithContainerIdImpl
id, ID_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
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.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected ECallSiteImpl()
           
 
Method Summary
 EJavaMethod basicGetDeclaredTarget()
           
 EJavaMethod basicGetJavaMethod()
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 boolean equals(java.lang.Object obj)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 int getBytecodeIndex()
           
 EJavaMethod getDeclaredTarget()
           
 EJavaMethod getJavaMethod()
           
 int hashCode()
           
 void setBytecodeIndex(int newBytecodeIndex)
           
 void setDeclaredTarget(EJavaMethod newDeclaredTarget)
           
 void setJavaMethod(EJavaMethod newJavaMethod)
           
 java.lang.String toString()
           
 
Methods inherited from class com.ibm.wala.ecore.common.impl.EObjectWithContainerIdImpl
getId, setId
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.wala.ecore.common.EObjectWithContainerId
getId, setId
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

BYTECODE_INDEX_EDEFAULT

protected static final int BYTECODE_INDEX_EDEFAULT
The default value of the 'Bytecode Index' attribute.

See Also:
getBytecodeIndex(), Constant Field Values

bytecodeIndex

protected int bytecodeIndex
The cached value of the 'Bytecode Index' attribute.

See Also:
getBytecodeIndex()

javaMethod

protected EJavaMethod javaMethod
The cached value of the 'Java Method' reference.

See Also:
getJavaMethod()

declaredTarget

protected EJavaMethod declaredTarget
The cached value of the 'Declared Target' reference.

See Also:
getDeclaredTarget()
Constructor Detail

ECallSiteImpl

protected ECallSiteImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class EObjectWithContainerIdImpl

getBytecodeIndex

public int getBytecodeIndex()

Specified by:
getBytecodeIndex in interface ECallSite
Returns:
the value of the 'Bytecode Index' attribute.
See Also:
ECallSite.setBytecodeIndex(int), JavaPackage.getECallSite_BytecodeIndex()

setBytecodeIndex

public void setBytecodeIndex(int newBytecodeIndex)

Specified by:
setBytecodeIndex in interface ECallSite
Parameters:
newBytecodeIndex - the new value of the 'Bytecode Index' attribute.
See Also:
ECallSite.getBytecodeIndex()

getJavaMethod

public EJavaMethod getJavaMethod()

Specified by:
getJavaMethod in interface ECallSite
Returns:
the value of the 'Java Method' reference.
See Also:
ECallSite.setJavaMethod(EJavaMethod), JavaPackage.getECallSite_JavaMethod()

basicGetJavaMethod

public EJavaMethod basicGetJavaMethod()


setJavaMethod

public void setJavaMethod(EJavaMethod newJavaMethod)

Specified by:
setJavaMethod in interface ECallSite
Parameters:
newJavaMethod - the new value of the 'Java Method' reference.
See Also:
ECallSite.getJavaMethod()

getDeclaredTarget

public EJavaMethod getDeclaredTarget()

Specified by:
getDeclaredTarget in interface ECallSite
Returns:
the value of the 'Declared Target' reference.
See Also:
ECallSite.setDeclaredTarget(EJavaMethod), JavaPackage.getECallSite_DeclaredTarget()

basicGetDeclaredTarget

public EJavaMethod basicGetDeclaredTarget()


setDeclaredTarget

public void setDeclaredTarget(EJavaMethod newDeclaredTarget)

Specified by:
setDeclaredTarget in interface ECallSite
Parameters:
newDeclaredTarget - the new value of the 'Declared Target' reference.
See Also:
ECallSite.getDeclaredTarget()

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class EObjectWithContainerIdImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class EObjectWithContainerIdImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class EObjectWithContainerIdImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class EObjectWithContainerIdImpl

toString

public java.lang.String toString()

Overrides:
toString in class EObjectWithContainerIdImpl

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object