|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A JavaMethod instance represents a method declared by a class. It allows to get detailed information about the method such as name, modifiers, return type, parameters, and the declaring class.
Different environments (runtime, enhancer, development) will have different JavaMethod implementations to provide answers to the various methods.
Method Summary | |
JavaType[] |
getParameterTypes()
Returns an array of JavaType instances that represent the formal parameter types, in declaration order, of the method represented by this JavaMethod instance. |
JavaType |
getReturnType()
Returns the JavaType representation of the method return type. |
Methods inherited from interface org.apache.jdo.model.java.JavaMember |
getComponentType, getDeclaringClass, getModifiers, getName, getType |
Methods inherited from interface org.apache.jdo.model.java.JavaElement |
getUnderlyingObject |
Method Detail |
public JavaType getReturnType()
public JavaType[] getParameterTypes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |