|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkoala.dynamicjava.classinfo.JavaMethodInfo
The instances of this class provides informations about class methods compiled to JVM bytecode.
Constructor Summary | |
JavaMethodInfo(java.lang.reflect.Method f)
Creates a new method info |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one |
ClassInfo[] |
getExceptionTypes()
Returns an array of Class infos that represent the types of the exceptions declared to be thrown by the underlying method |
int |
getModifiers()
Returns the modifiers for the method represented by this object |
java.lang.String |
getName()
Returns the name of the underlying method |
ClassInfo[] |
getParameterTypes()
Returns an array of class infos that represent the parameter types, in declaration order, of the method represented by this object |
ClassInfo |
getReturnType()
Returns a Class object that represents the return type of the method represented by this object |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JavaMethodInfo(java.lang.reflect.Method f)
f
- the java methodMethod Detail |
public int getModifiers()
getModifiers
in interface MethodInfo
public ClassInfo getReturnType()
getReturnType
in interface MethodInfo
public java.lang.String getName()
getName
in interface MethodInfo
public ClassInfo[] getParameterTypes()
getParameterTypes
in interface MethodInfo
public ClassInfo[] getExceptionTypes()
getExceptionTypes
in interface MethodInfo
public boolean equals(java.lang.Object obj)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |