org.eclipse.xtext.common.types.impl
Class JvmOperationImpl

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.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.xtext.common.types.impl.JvmAnnotationTargetImpl
                      extended by org.eclipse.xtext.common.types.impl.JvmMemberImpl
                          extended by org.eclipse.xtext.common.types.impl.JvmMemberImplCustom
                              extended by org.eclipse.xtext.common.types.impl.JvmFeatureImpl
                                  extended by org.eclipse.xtext.common.types.impl.JvmExecutableImpl
                                      extended by org.eclipse.xtext.common.types.impl.JvmExecutableImplCustom
                                          extended by org.eclipse.xtext.common.types.impl.JvmOperationImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, JvmAnnotationTarget, JvmExecutable, JvmFeature, JvmIdentifiableElement, JvmMember, JvmOperation, JvmTypeParameterDeclarator

public class JvmOperationImpl
extends JvmExecutableImplCustom
implements JvmOperation

An implementation of the model object 'Jvm Operation'.

The following features are implemented:

EMF generated code

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
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
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  boolean abstract_
          The cached value of the 'Abstract' attribute
protected static boolean ABSTRACT_EDEFAULT
          The default value of the 'Abstract' attribute
protected  JvmAnnotationValue defaultValue
          The cached value of the 'Default Value' containment reference
protected  boolean final_
          The cached value of the 'Final' attribute
protected static boolean FINAL_EDEFAULT
          The default value of the 'Final' attribute
protected  JvmTypeReference returnType
          The cached value of the 'Return Type' containment reference
protected  boolean static_
          The cached value of the 'Static' attribute
protected static boolean STATIC_EDEFAULT
          The default value of the 'Static' attribute
 
Fields inherited from class org.eclipse.xtext.common.types.impl.JvmExecutableImpl
exceptions, parameters, typeParameters, VAR_ARGS_EDEFAULT, varArgs
 
Fields inherited from class org.eclipse.xtext.common.types.impl.JvmMemberImpl
identifier, IDENTIFIER_EDEFAULT, SIMPLE_NAME_EDEFAULT, simpleName, visibility, VISIBILITY_EDEFAULT
 
Fields inherited from class org.eclipse.xtext.common.types.impl.JvmAnnotationTargetImpl
annotations
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
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
protected JvmOperationImpl()
           
 
Method Summary
 JvmAnnotationValue basicGetDefaultValue()
           
 JvmTypeReference basicGetReturnType()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetDefaultValue(JvmAnnotationValue newDefaultValue, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetReturnType(JvmTypeReference newReturnType, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 JvmAnnotationValue getDefaultValue()
           
 JvmTypeReference getReturnType()
           
 boolean isAbstract()
           
 boolean isFinal()
           
 boolean isStatic()
           
 void setAbstract(boolean newAbstract)
           
 void setDefaultValue(JvmAnnotationValue newDefaultValue)
           
 void setFinal(boolean newFinal)
           
 void setReturnType(JvmTypeReference newReturnType)
           
 void setStatic(boolean newStatic)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.xtext.common.types.impl.JvmExecutableImplCustom
computeIdentifier, internalSetIdentifier
 
Methods inherited from class org.eclipse.xtext.common.types.impl.JvmExecutableImpl
eBaseStructuralFeatureID, eDerivedStructuralFeatureID, eInverseAdd, getExceptions, getParameters, getTypeParameters, isVarArgs, setVarArgs
 
Methods inherited from class org.eclipse.xtext.common.types.impl.JvmMemberImplCustom
getIdentifier, getQualifiedName, getQualifiedName
 
Methods inherited from class org.eclipse.xtext.common.types.impl.JvmMemberImpl
basicGetDeclaringType, basicSetDeclaringType, eBasicRemoveFromContainerFeature, getDeclaringType, getSimpleName, getVisibility, setDeclaringType, setSimpleName, setVisibility
 
Methods inherited from class org.eclipse.xtext.common.types.impl.JvmAnnotationTargetImpl
getAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmExecutable
getExceptions, getParameters, isVarArgs, setVarArgs
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmMember
getDeclaringType, getIdentifier, getSimpleName, getVisibility, internalSetIdentifier, setDeclaringType, setSimpleName, setVisibility
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmAnnotationTarget
getAnnotations
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmIdentifiableElement
getQualifiedName, getQualifiedName
 
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.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmTypeParameterDeclarator
getTypeParameters
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

STATIC_EDEFAULT

protected static final boolean STATIC_EDEFAULT
The default value of the 'Static' attribute.

See Also:
isStatic(), Constant Field Values
EMF generated code
EMF ordered

static_

protected boolean static_
The cached value of the 'Static' attribute.

See Also:
isStatic()
EMF generated code
EMF ordered

FINAL_EDEFAULT

protected static final boolean FINAL_EDEFAULT
The default value of the 'Final' attribute.

See Also:
isFinal(), Constant Field Values
EMF generated code
EMF ordered

final_

protected boolean final_
The cached value of the 'Final' attribute.

See Also:
isFinal()
EMF generated code
EMF ordered

ABSTRACT_EDEFAULT

protected static final boolean ABSTRACT_EDEFAULT
The default value of the 'Abstract' attribute.

See Also:
isAbstract(), Constant Field Values
EMF generated code
EMF ordered

abstract_

protected boolean abstract_
The cached value of the 'Abstract' attribute.

See Also:
isAbstract()
EMF generated code
EMF ordered

returnType

protected JvmTypeReference returnType
The cached value of the 'Return Type' containment reference.

See Also:
getReturnType()
EMF generated code
EMF ordered

defaultValue

protected JvmAnnotationValue defaultValue
The cached value of the 'Default Value' containment reference.

See Also:
getDefaultValue()
EMF generated code
EMF ordered
Constructor Detail

JvmOperationImpl

protected JvmOperationImpl()

EMF generated code
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class JvmExecutableImpl
EMF generated code

isStatic

public boolean isStatic()

Specified by:
isStatic in interface JvmOperation
Returns:
the value of the 'Static' attribute.
See Also:
JvmOperation.setStatic(boolean), TypesPackage.getJvmOperation_Static()
EMF generated code

setStatic

public void setStatic(boolean newStatic)

Specified by:
setStatic in interface JvmOperation
Parameters:
newStatic - the new value of the 'Static' attribute.
See Also:
JvmOperation.isStatic()
EMF generated code

isFinal

public boolean isFinal()

Specified by:
isFinal in interface JvmOperation
Returns:
the value of the 'Final' attribute.
See Also:
JvmOperation.setFinal(boolean), TypesPackage.getJvmOperation_Final()
EMF generated code

setFinal

public void setFinal(boolean newFinal)

Specified by:
setFinal in interface JvmOperation
Parameters:
newFinal - the new value of the 'Final' attribute.
See Also:
JvmOperation.isFinal()
EMF generated code

isAbstract

public boolean isAbstract()

Specified by:
isAbstract in interface JvmOperation
Returns:
the value of the 'Abstract' attribute.
See Also:
JvmOperation.setAbstract(boolean), TypesPackage.getJvmOperation_Abstract()
EMF generated code

setAbstract

public void setAbstract(boolean newAbstract)

Specified by:
setAbstract in interface JvmOperation
Parameters:
newAbstract - the new value of the 'Abstract' attribute.
See Also:
JvmOperation.isAbstract()
EMF generated code

getReturnType

public JvmTypeReference getReturnType()

Specified by:
getReturnType in interface JvmOperation
Returns:
the value of the 'Return Type' containment reference.
See Also:
JvmOperation.setReturnType(JvmTypeReference), TypesPackage.getJvmOperation_ReturnType()
EMF generated code

basicGetReturnType

public JvmTypeReference basicGetReturnType()

EMF generated code

basicSetReturnType

public org.eclipse.emf.common.notify.NotificationChain basicSetReturnType(JvmTypeReference newReturnType,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setReturnType

public void setReturnType(JvmTypeReference newReturnType)

Specified by:
setReturnType in interface JvmOperation
Parameters:
newReturnType - the new value of the 'Return Type' containment reference.
See Also:
JvmOperation.getReturnType()
EMF generated code

getDefaultValue

public JvmAnnotationValue getDefaultValue()

Specified by:
getDefaultValue in interface JvmOperation
Returns:
the value of the 'Default Value' containment reference.
See Also:
JvmOperation.setDefaultValue(JvmAnnotationValue), TypesPackage.getJvmOperation_DefaultValue()
EMF generated code

basicGetDefaultValue

public JvmAnnotationValue basicGetDefaultValue()

EMF generated code

basicSetDefaultValue

public org.eclipse.emf.common.notify.NotificationChain basicSetDefaultValue(JvmAnnotationValue newDefaultValue,
                                                                            org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setDefaultValue

public void setDefaultValue(JvmAnnotationValue newDefaultValue)

Specified by:
setDefaultValue in interface JvmOperation
Parameters:
newDefaultValue - the new value of the 'Default Value' containment reference.
See Also:
JvmOperation.getDefaultValue()
EMF generated code

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:
eInverseRemove in class JvmExecutableImpl
EMF generated code

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 JvmExecutableImpl
EMF generated code

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class JvmExecutableImpl
EMF generated code

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class JvmExecutableImpl
EMF generated code

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class JvmExecutableImpl
EMF generated code

toString

public java.lang.String toString()

Overrides:
toString in class JvmExecutableImpl
EMF generated code