|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.bytecode.JAnnotationObject
com.caucho.bytecode.JAccessibleObject
com.caucho.bytecode.JMethod
com.caucho.bytecode.JMethodWrapper
public class JMethodWrapper
Wrapper around the Java Method for a JMethod.
Constructor Summary | |
---|---|
JMethodWrapper(java.lang.reflect.Method method)
|
|
JMethodWrapper(java.lang.reflect.Method method,
JClassLoader loader)
|
Method Summary | |
---|---|
JAnnotation[] |
getDeclaredAnnotations()
Returns the annotation. |
JClass |
getDeclaringClass()
Returns the declaring type. |
JClass[] |
getExceptionTypes()
Returns the exception types. |
JType |
getGenericReturnType()
Returns the return type. |
java.lang.String |
getName()
Returns the method name. |
JClass[] |
getParameterTypes()
Returns the parameter types. |
JClass |
getReturnType()
Returns the return type. |
boolean |
isAbstract()
Returns true for an abstract method. |
boolean |
isFinal()
Returns true for a final method. |
boolean |
isPrivate()
Returns true for a private method |
boolean |
isProtected()
Returns true for a protected method. |
boolean |
isPublic()
Returns true for a public method. |
boolean |
isStatic()
Returns true for a static method. |
Methods inherited from class com.caucho.bytecode.JMethod |
---|
equals, getFullName, toString |
Methods inherited from class com.caucho.bytecode.JAccessibleObject |
---|
getLine |
Methods inherited from class com.caucho.bytecode.JAnnotationObject |
---|
getAnnotation, getAnnotation, isAnnotationPresent, isAnnotationPresent |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JMethodWrapper(java.lang.reflect.Method method)
public JMethodWrapper(java.lang.reflect.Method method, JClassLoader loader)
Method Detail |
---|
public java.lang.String getName()
getName
in class JMethod
public boolean isStatic()
isStatic
in class JMethod
public boolean isPrivate()
isPrivate
in class JMethod
public boolean isPublic()
isPublic
in class JMethod
public boolean isProtected()
isProtected
in class JMethod
public boolean isFinal()
isFinal
in class JMethod
public boolean isAbstract()
isAbstract
in class JMethod
public JClass getDeclaringClass()
getDeclaringClass
in class JMethod
public JClass getReturnType()
getReturnType
in class JMethod
public JType getGenericReturnType()
getGenericReturnType
in class JMethod
public JClass[] getParameterTypes()
getParameterTypes
in class JMethod
public JClass[] getExceptionTypes()
getExceptionTypes
in class JMethod
public JAnnotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in class JMethod
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |