Java java.lang.reflect Executable fields, constructors, methods, implement or subclass

Example usage for Java java.lang.reflect Executable fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.lang.reflect Executable.

The text is from its open source code.

Method

TgetAnnotation(Class annotationClass)
ClassgetDeclaringClass()
Returns the Class object representing the class or interface that declares the executable represented by this object.
Class[]getExceptionTypes()
Returns an array of Class objects that represent the types of exceptions declared to be thrown by the underlying executable represented by this object.
intgetModifiers()
Returns the Java language Modifier modifiers for the executable represented by this object.
Parameter[]getParameters()
Returns an array of Parameter objects that represent all the parameters to the underlying executable represented by this object.
Class[]getParameterTypes()
Returns an array of Class objects that represent the formal parameter types, in declaration order, of the executable represented by this object.
booleanisVarArgs()
Returns true if this executable was declared to take a variable number of arguments; returns false otherwise.