Executable

public abstract class Executable extends AccessibleObject
implements GenericDeclaration Member
Known Direct Subclasses

Stub implementation of Executable. 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

Public Method Summary

<T extends Annotation> T
getAnnotation(Class<T> cls)
Returns this element's annotation for the specified type if such an annotation is present, else null.
<T extends Annotation> T[]
Annotation[]
getDeclaredAnnotations()
Returns annotations that are directly present on this element.
abstract Class<?>
getDeclaringClass()
Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.
abstract Class[]<?>
Type[]
Type[]
abstract int
getModifiers()
Returns the Java language modifiers for the member or constructor represented by this Member, as an integer.
abstract String
getName()
Returns the simple name of the underlying member or constructor represented by this Member.
abstract Annotation[][]
int
abstract Class[]<?>
Parameter[]
abstract TypeVariable[]<?>
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.
boolean
isSynthetic()
Returns true if this member was introduced by the compiler; returns false otherwise.
boolean
abstract String

Inherited Method Summary