|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.metaclass.model.FeatureDescriptor
org.codehaus.metaclass.model.MethodDescriptor
A descriptor that describes a Method. It contains information about;
Also associated with each method is a set of arbitrary Attributes that can be used to store extra information about method.
Field Summary | |
static MethodDescriptor[] |
EMPTY_SET
Constant for empty array of method descriptors. |
Constructor Summary | |
MethodDescriptor(java.lang.String name,
java.lang.String returnType,
ParameterDescriptor[] parameters,
Attribute[] declaredAttributes,
Attribute[] attributes)
Create a descriptor for a method. |
Method Summary | |
java.lang.String |
getName()
Return the name of the method. |
ParameterDescriptor[] |
getParameters()
Return the parameters associated with method. |
java.lang.String |
getReturnType()
Return the return type of the method. |
Methods inherited from class org.codehaus.metaclass.model.FeatureDescriptor |
getAttributes, getDeclaredAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final MethodDescriptor[] EMPTY_SET
Constructor Detail |
public MethodDescriptor(java.lang.String name, java.lang.String returnType, ParameterDescriptor[] parameters, Attribute[] declaredAttributes, Attribute[] attributes)
name
- the name of the methodreturnType
- the return type of the methodparameters
- the parameters of the methoddeclaredAttributes
- the declared attributesattributes
- any attributes associated with methodMethod Detail |
public java.lang.String getName()
public java.lang.String getReturnType()
public ParameterDescriptor[] getParameters()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |