|
||||||||||
| 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 JMethodpublic boolean isStatic()
isStatic in class JMethodpublic boolean isPrivate()
isPrivate in class JMethodpublic boolean isPublic()
isPublic in class JMethodpublic boolean isProtected()
isProtected in class JMethodpublic boolean isFinal()
isFinal in class JMethodpublic boolean isAbstract()
isAbstract in class JMethodpublic JClass getDeclaringClass()
getDeclaringClass in class JMethodpublic JClass getReturnType()
getReturnType in class JMethodpublic JType getGenericReturnType()
getGenericReturnType in class JMethodpublic JClass[] getParameterTypes()
getParameterTypes in class JMethodpublic JClass[] getExceptionTypes()
getExceptionTypes in class JMethodpublic JAnnotation[] getDeclaredAnnotations()
getDeclaredAnnotations in class JMethod
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||