|
||||||||||
| 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
public abstract class JMethod
Represents an introspected java method.
| Constructor Summary | |
|---|---|
JMethod()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Returns true if equals. |
abstract JAnnotation[] |
getDeclaredAnnotations()
Returns the declared annotaions. |
abstract JClass |
getDeclaringClass()
Returns the declaring class |
abstract JClass[] |
getExceptionTypes()
Returns the exception types. |
java.lang.String |
getFullName()
Returns a full method name with arguments. |
abstract JType |
getGenericReturnType()
Returns the parameterized return type of the field. |
abstract java.lang.String |
getName()
Returns the method name. |
abstract JClass[] |
getParameterTypes()
Returns the parameter types. |
abstract JClass |
getReturnType()
Returns the return type. |
abstract boolean |
isAbstract()
Returns true for an abstract method. |
abstract boolean |
isFinal()
Returns true for a final method. |
abstract boolean |
isPrivate()
Returns true for a private method. |
abstract boolean |
isProtected()
Returns true for a protected method. |
abstract boolean |
isPublic()
Returns true for a public method. |
abstract boolean |
isStatic()
Returns true for a static method. |
java.lang.String |
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 JMethod()
| Method Detail |
|---|
public abstract java.lang.String getName()
getName in class JAccessibleObjectpublic abstract boolean isStatic()
public abstract boolean isPrivate()
public abstract boolean isPublic()
public abstract boolean isProtected()
public abstract boolean isAbstract()
public abstract boolean isFinal()
public abstract JClass getDeclaringClass()
getDeclaringClass in class JAccessibleObjectpublic abstract JClass getReturnType()
getReturnType in class JAccessibleObjectpublic abstract JType getGenericReturnType()
public abstract JClass[] getParameterTypes()
public abstract JClass[] getExceptionTypes()
public abstract JAnnotation[] getDeclaredAnnotations()
getDeclaredAnnotations in class JAnnotationObjectpublic java.lang.String getFullName()
public boolean equals(java.lang.Object o)
equals in class JAccessibleObjectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||