|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.java.impl.JModelElementImpl
org.eclipse.emf.java.impl.JMemberImpl
org.eclipse.emf.java.impl.JMethodImpl
public class JMethodImpl
An implementation of the model object 'JMethod'.
The following features are implemented:
Abstract
Final
Native
Synchronized
Java Method
Constructor
Java Constructor
Body
Parameters
Exceptions
Return Type
Nested Class Summary | |
---|---|
protected static class |
JMethodImpl.JHelper
|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
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 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 |
Fields inherited from class org.eclipse.emf.java.impl.JMemberImpl |
---|
comment, COMMENT_EDEFAULT, static_, STATIC_EDEFAULT, visibility, VISIBILITY_EDEFAULT |
Fields inherited from class org.eclipse.emf.java.impl.JModelElementImpl |
---|
isReconciling, jNode, JNODE_EDEFAULT, name, NAME_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 |
JMethodImpl()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class org.eclipse.emf.java.impl.JMemberImpl |
---|
basicSetContainingType, eBasicRemoveFromContainerFeature, getComment, getContainingType, getVisibility, isStatic, setComment, setContainingType, setStatic, setVisibility |
Methods inherited from class org.eclipse.emf.java.impl.JModelElementImpl |
---|
adoptContent, changeReference, eNotificationRequired, eNotify, getJNode, getName, getQualifiedName, moveContent, orphanContent, setJNode, setJNodeGen, setName |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eBasicAdapterArray, eBasicHasAdapters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.java.JMember |
---|
getComment, getContainingType, getVisibility, isStatic, setComment, setContainingType, setStatic, setVisibility |
Methods inherited from interface org.eclipse.emf.java.JModelElement |
---|
getJNode, getName, getQualifiedName, setJNode, setName |
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 |
Field Detail |
---|
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()
Constructor Detail |
---|
protected JMethodImpl()
Method Detail |
---|
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
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |