public abstract class JMethod extends JAccessibleObject
Constructor and Description |
---|
JMethod() |
Modifier and Type | Method and Description |
---|---|
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() |
getLine
getAnnotation, getAnnotation, isAnnotationPresent, isAnnotationPresent
public abstract java.lang.String getName()
getName
in class JAccessibleObject
public 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 JAccessibleObject
public abstract JClass getReturnType()
getReturnType
in class JAccessibleObject
public abstract JType getGenericReturnType()
public abstract JClass[] getParameterTypes()
public abstract JClass[] getExceptionTypes()
public abstract JAnnotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in class JAnnotationObject
public java.lang.String getFullName()
public boolean equals(java.lang.Object o)
equals
in class JAccessibleObject
public java.lang.String toString()
toString
in class java.lang.Object