public class JMethodImpl extends JMemberImpl implements JMethod
The following features are implemented:
Modifier and Type | Class and Description |
---|---|
protected static class |
JMethodImpl.JHelper |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.EStore
Modifier and Type | Field and Description |
---|---|
protected boolean |
abstract_
The cached value of the '
Abstract ' attribute |
protected static boolean |
ABSTRACT_EDEFAULT
The default value of the '
Abstract ' attribute |
protected java.lang.String |
body
The cached value of the '
Body ' attribute |
protected static java.lang.String |
BODY_EDEFAULT
The default value of the '
Body ' attribute |
protected boolean |
constructor
The cached value of the '
Constructor ' attribute |
protected static boolean |
CONSTRUCTOR_EDEFAULT
The default value of the '
Constructor ' attribute |
protected EList<JClass> |
exceptions
The cached value of the '
Exceptions ' reference list |
protected boolean |
final_
The cached value of the '
Final ' attribute |
protected static boolean |
FINAL_EDEFAULT
The default value of the '
Final ' attribute |
protected static java.lang.reflect.Method |
JAVA_METHOD_EDEFAULT
The default value of the '
Java Method ' attribute |
protected java.lang.reflect.Constructor<?> |
javaConstructor
The cached value of the '
Java Constructor ' attribute |
protected java.lang.reflect.Method |
javaMethod
The cached value of the '
Java Method ' attribute |
protected boolean |
native_
The cached value of the '
Native ' attribute |
protected static boolean |
NATIVE_EDEFAULT
The default value of the '
Native ' attribute |
protected EList<JParameter> |
parameters
The cached value of the '
Parameters ' containment reference list |
protected JClass |
returnType
The cached value of the '
Return Type ' reference |
protected boolean |
synchronized_
The cached value of the '
Synchronized ' attribute |
protected static boolean |
SYNCHRONIZED_EDEFAULT
The default value of the '
Synchronized ' attribute |
comment, COMMENT_EDEFAULT, static_, STATIC_EDEFAULT, visibility, VISIBILITY_EDEFAULT
isReconciling, jNode, JNODE_EDEFAULT, name, NAME_EDEFAULT
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
EOPPOSITE_FEATURE_BASE
Modifier | Constructor and Description |
---|---|
protected |
JMethodImpl() |
Modifier and Type | Method and Description |
---|---|
JClass |
basicGetReturnType() |
protected void |
changeAttribute(Notification notification) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
java.lang.String |
getBody() |
EList<JClass> |
getExceptions() |
java.lang.reflect.Constructor<?> |
getJavaConstructor() |
java.lang.reflect.Method |
getJavaMethod() |
EList<JParameter> |
getParameters() |
JClass |
getReturnType() |
boolean |
isAbstract() |
boolean |
isConstructor() |
boolean |
isFinal() |
boolean |
isNative() |
boolean |
isSynchronized() |
protected void |
resolveIdentifiers() |
void |
setAbstract(boolean newAbstract) |
void |
setBody(java.lang.String newBody) |
void |
setConstructor(boolean newConstructor) |
void |
setFinal(boolean newFinal) |
void |
setJavaConstructor(java.lang.reflect.Constructor<?> newJavaConstructor) |
void |
setJavaMethod(java.lang.reflect.Method newJavaMethod) |
void |
setNative(boolean newNative) |
void |
setReturnType(JClass newReturnType) |
void |
setSynchronized(boolean newSynchronized) |
java.lang.String |
toString() |
basicSetContainingType, eBasicRemoveFromContainerFeature, getComment, getContainingType, getVisibility, isStatic, setComment, setContainingType, setStatic, setVisibility
adoptContent, changeReference, eNotificationRequired, eNotify, getJNode, getName, getQualifiedName, moveContent, orphanContent, setJNode, setJNodeGen, setName
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComment, getContainingType, getVisibility, isStatic, setComment, setContainingType, setStatic, setVisibility
getJNode, getName, getQualifiedName, setJNode, setName
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
protected static final boolean ABSTRACT_EDEFAULT
Abstract
' attribute.
isAbstract()
,
Constant Field Valuesprotected boolean abstract_
Abstract
' attribute.
isAbstract()
protected static final boolean FINAL_EDEFAULT
Final
' attribute.
isFinal()
,
Constant Field Valuesprotected boolean final_
Final
' attribute.
isFinal()
protected static final boolean NATIVE_EDEFAULT
Native
' attribute.
isNative()
,
Constant Field Valuesprotected boolean native_
Native
' attribute.
isNative()
protected static final boolean SYNCHRONIZED_EDEFAULT
Synchronized
' attribute.
isSynchronized()
,
Constant Field Valuesprotected boolean synchronized_
Synchronized
' attribute.
isSynchronized()
protected static final java.lang.reflect.Method JAVA_METHOD_EDEFAULT
Java Method
' attribute.
getJavaMethod()
protected java.lang.reflect.Method javaMethod
Java Method
' attribute.
getJavaMethod()
protected static final boolean CONSTRUCTOR_EDEFAULT
Constructor
' attribute.
isConstructor()
,
Constant Field Valuesprotected boolean constructor
Constructor
' attribute.
isConstructor()
protected java.lang.reflect.Constructor<?> javaConstructor
Java Constructor
' attribute.
getJavaConstructor()
protected static final java.lang.String BODY_EDEFAULT
Body
' attribute.
getBody()
protected java.lang.String body
Body
' attribute.
getBody()
protected EList<JParameter> parameters
Parameters
' containment reference list.
getParameters()
protected EList<JClass> exceptions
Exceptions
' reference list.
getExceptions()
protected JClass returnType
Return Type
' reference.
getReturnType()
protected EClass eStaticClass()
eStaticClass
in class JMemberImpl
public boolean isAbstract()
isAbstract
in interface JMethod
JMethod.setAbstract(boolean)
,
JavaPackage.getJMethod_Abstract()
public void setAbstract(boolean newAbstract)
setAbstract
in interface JMethod
newAbstract
- the new value of the 'Abstract' attribute.JMethod.isAbstract()
public boolean isFinal()
isFinal
in interface JMethod
JMethod.setFinal(boolean)
,
JavaPackage.getJMethod_Final()
public void setFinal(boolean newFinal)
setFinal
in interface JMethod
newFinal
- the new value of the 'Final' attribute.JMethod.isFinal()
public boolean isNative()
isNative
in interface JMethod
JMethod.setNative(boolean)
,
JavaPackage.getJMethod_Native()
public void setNative(boolean newNative)
setNative
in interface JMethod
newNative
- the new value of the 'Native' attribute.JMethod.isNative()
public boolean isSynchronized()
isSynchronized
in interface JMethod
JMethod.setSynchronized(boolean)
,
JavaPackage.getJMethod_Synchronized()
public void setSynchronized(boolean newSynchronized)
setSynchronized
in interface JMethod
newSynchronized
- the new value of the 'Synchronized' attribute.JMethod.isSynchronized()
public java.lang.reflect.Method getJavaMethod()
getJavaMethod
in interface JMethod
JMethod.setJavaMethod(Method)
,
JavaPackage.getJMethod_JavaMethod()
public void setJavaMethod(java.lang.reflect.Method newJavaMethod)
setJavaMethod
in interface JMethod
newJavaMethod
- the new value of the 'Java Method' attribute.JMethod.getJavaMethod()
public boolean isConstructor()
isConstructor
in interface JMethod
JMethod.setConstructor(boolean)
,
JavaPackage.getJMethod_Constructor()
public void setConstructor(boolean newConstructor)
setConstructor
in interface JMethod
newConstructor
- the new value of the 'Constructor' attribute.JMethod.isConstructor()
public java.lang.reflect.Constructor<?> getJavaConstructor()
getJavaConstructor
in interface JMethod
JMethod.setJavaConstructor(Constructor)
,
JavaPackage.getJMethod_JavaConstructor()
public void setJavaConstructor(java.lang.reflect.Constructor<?> newJavaConstructor)
setJavaConstructor
in interface JMethod
newJavaConstructor
- the new value of the 'Java Constructor' attribute.JMethod.getJavaConstructor()
public java.lang.String getBody()
getBody
in interface JMethod
JMethod.setBody(String)
,
JavaPackage.getJMethod_Body()
public void setBody(java.lang.String newBody)
setBody
in interface JMethod
newBody
- the new value of the 'Body' attribute.JMethod.getBody()
public EList<JParameter> getParameters()
getParameters
in interface JMethod
JavaPackage.getJMethod_Parameters()
,
JParameter.getMethod()
public EList<JClass> getExceptions()
getExceptions
in interface JMethod
JavaPackage.getJMethod_Exceptions()
public JClass getReturnType()
getReturnType
in interface JMethod
JMethod.setReturnType(JClass)
,
JavaPackage.getJMethod_ReturnType()
public JClass basicGetReturnType()
public void setReturnType(JClass newReturnType)
setReturnType
in interface JMethod
newReturnType
- the new value of the 'Return Type' reference.JMethod.getReturnType()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class JMemberImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class JMemberImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class JMemberImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class JMemberImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class JMemberImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class JMemberImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.String toString()
toString
in class JMemberImpl
protected void changeAttribute(Notification notification)
changeAttribute
in class JModelElementImpl
protected void resolveIdentifiers()
resolveIdentifiers
in class JModelElementImpl