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.EPropertiesHolderImplBasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterListInternalEObject.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_EDEFAULTisReconciling, jNode, JNODE_EDEFAULT, name, NAME_EDEFAULTeAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXYEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETEOPPOSITE_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, setVisibilityadoptContent, changeReference, eNotificationRequired, eNotify, getJNode, getName, getQualifiedName, moveContent, orphanContent, setJNode, setJNodeGen, setNameeAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, 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, eVirtualValueseBasicAdapterArray, eBasicHasAdaptersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComment, getContainingType, getVisibility, isStatic, setComment, setContainingType, setStatic, setVisibilitygetJNode, getName, getQualifiedName, setJNode, setNameeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverprotected 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 JMemberImplpublic boolean isAbstract()
isAbstract in interface JMethodJMethod.setAbstract(boolean),
JavaPackage.getJMethod_Abstract()public void setAbstract(boolean newAbstract)
setAbstract in interface JMethodnewAbstract - the new value of the 'Abstract' attribute.JMethod.isAbstract()public boolean isFinal()
isFinal in interface JMethodJMethod.setFinal(boolean),
JavaPackage.getJMethod_Final()public void setFinal(boolean newFinal)
setFinal in interface JMethodnewFinal - the new value of the 'Final' attribute.JMethod.isFinal()public boolean isNative()
isNative in interface JMethodJMethod.setNative(boolean),
JavaPackage.getJMethod_Native()public void setNative(boolean newNative)
setNative in interface JMethodnewNative - the new value of the 'Native' attribute.JMethod.isNative()public boolean isSynchronized()
isSynchronized in interface JMethodJMethod.setSynchronized(boolean),
JavaPackage.getJMethod_Synchronized()public void setSynchronized(boolean newSynchronized)
setSynchronized in interface JMethodnewSynchronized - the new value of the 'Synchronized' attribute.JMethod.isSynchronized()public java.lang.reflect.Method getJavaMethod()
getJavaMethod in interface JMethodJMethod.setJavaMethod(Method),
JavaPackage.getJMethod_JavaMethod()public void setJavaMethod(java.lang.reflect.Method newJavaMethod)
setJavaMethod in interface JMethodnewJavaMethod - the new value of the 'Java Method' attribute.JMethod.getJavaMethod()public boolean isConstructor()
isConstructor in interface JMethodJMethod.setConstructor(boolean),
JavaPackage.getJMethod_Constructor()public void setConstructor(boolean newConstructor)
setConstructor in interface JMethodnewConstructor - the new value of the 'Constructor' attribute.JMethod.isConstructor()public java.lang.reflect.Constructor<?> getJavaConstructor()
getJavaConstructor in interface JMethodJMethod.setJavaConstructor(Constructor),
JavaPackage.getJMethod_JavaConstructor()public void setJavaConstructor(java.lang.reflect.Constructor<?> newJavaConstructor)
setJavaConstructor in interface JMethodnewJavaConstructor - the new value of the 'Java Constructor' attribute.JMethod.getJavaConstructor()public java.lang.String getBody()
getBody in interface JMethodJMethod.setBody(String),
JavaPackage.getJMethod_Body()public void setBody(java.lang.String newBody)
setBody in interface JMethodnewBody - the new value of the 'Body' attribute.JMethod.getBody()public EList<JParameter> getParameters()
getParameters in interface JMethodJavaPackage.getJMethod_Parameters(),
JParameter.getMethod()public EList<JClass> getExceptions()
getExceptions in interface JMethodJavaPackage.getJMethod_Exceptions()public JClass getReturnType()
getReturnType in interface JMethodJMethod.setReturnType(JClass),
JavaPackage.getJMethod_ReturnType()public JClass basicGetReturnType()
public void setReturnType(JClass newReturnType)
setReturnType in interface JMethodnewReturnType - the new value of the 'Return Type' reference.JMethod.getReturnType()public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd in class JMemberImplpublic NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove in class JMemberImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class JMemberImplInternalEObject.eGet(EStructuralFeature, boolean, boolean)public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class JMemberImplEObject.eSet(EStructuralFeature, Object)public void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class JMemberImplEObject.eUnset(EStructuralFeature)public boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class JMemberImplEObject.eIsSet(EStructuralFeature)public java.lang.String toString()
toString in class JMemberImplprotected void changeAttribute(Notification notification)
changeAttribute in class JModelElementImplprotected void resolveIdentifiers()
resolveIdentifiers in class JModelElementImpl