Method

public class Method extends Executable

Stub implementation of Method. The actual implementation is in Method.h and Method.m, so the declared methods in this class should match the actual methods implemented in order to catch unsupported API references.

See Also

Inherited Constant Summary

Public Constructor Summary

Method()

Public Method Summary

<T extends Annotation> T
getAnnotation(Class<T> annotationClass)
Returns this element's annotation for the specified type if such an annotation is present, else null.
Annotation[]
getDeclaredAnnotations()
Returns annotations that are directly present on this element.
Class<?>
getDeclaringClass()
Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.
Object
Class[]
Type[]
Type[]
Type
int
getModifiers()
Returns the Java language modifiers for the member or constructor represented by this Member, as an integer.
String
getName()
Returns the simple name of the underlying member or constructor represented by this Member.
Annotation[][]
Class[]<?>
Class
TypeVariable[]<Method>
getTypeParameters()
Returns an array of TypeVariable objects that represent the type variables declared by the generic declaration represented by this GenericDeclaration object, in declaration order.
Object
boolean
boolean
boolean
isSynthetic()
Returns true if this member was introduced by the compiler; returns false otherwise.
boolean
String

Inherited Method Summary