| Modifier and Type | Method and Description |
|---|---|
| public Annotation | getDeclaredAnnotation(Class<? extends Annotation> annotationType)
Returns an |
| public Annotation[] | getDeclaredAnnotations()
Returns an array of |
| public Class | getDeclaringClass()
Returns the Class object representing the class or interface that declares the method. |
| public String | |
| public Class | getParameterTypes()
Returns an array of Class objects that represent the formal parameter types, in declaration order, of the method. |
| public Class | |
| public Object | |
| public boolean | |
| public boolean | |
| public boolean | isAnnotationPresent(Class<? extends Annotation> annotationType)
Returns true if the method includes an annotation of the provided class type. |
| public boolean | isDefaultAccess()
Return true if the method does not include any of the |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void |
| method | back to summary |
|---|---|
| private final Method method | |
| Method | back to summary |
|---|---|
| pack-priv Method(Method method) | |
| getDeclaredAnnotation | back to summary |
|---|---|
| public Annotation getDeclaredAnnotation(Class<? extends Annotation> annotationType) Returns an | |
| getDeclaredAnnotations | back to summary |
|---|---|
| public Annotation[] getDeclaredAnnotations() Returns an array of | |
| getDeclaringClass | back to summary |
|---|---|
| public Class Returns the Class object representing the class or interface that declares the method. | |
| getName | back to summary |
|---|---|
| public String getName() Returns the name of the method. | |
| getParameterTypes | back to summary |
|---|---|
| public Class Returns an array of Class objects that represent the formal parameter types, in declaration order, of the method. | |
| getReturnType | back to summary |
|---|---|
| public Class Returns a Class object that represents the formal return type of the method. | |
| invoke | back to summary |
|---|---|
| public Object invoke(Object obj, Object... args) throws ReflectionException Invokes the underlying method on the supplied object with the supplied parameters. | |
| isAbstract | back to summary |
|---|---|
| public boolean isAbstract() Return true if the method includes the | |
| isAccessible | back to summary |
|---|---|
| public boolean isAccessible() | |
| isAnnotationPresent | back to summary |
|---|---|
| public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) Returns true if the method includes an annotation of the provided class type. | |
| isDefaultAccess | back to summary |
|---|---|
| public boolean isDefaultAccess() Return true if the method does not include any of the | |
| isFinal | back to summary |
|---|---|
| public boolean isFinal() Return true if the method includes the | |
| isNative | back to summary |
|---|---|
| public boolean isNative() Return true if the method includes the | |
| isPrivate | back to summary |
|---|---|
| public boolean isPrivate() Return true if the method includes the | |
| isProtected | back to summary |
|---|---|
| public boolean isProtected() Return true if the method includes the | |
| isPublic | back to summary |
|---|---|
| public boolean isPublic() Return true if the method includes the | |
| isStatic | back to summary |
|---|---|
| public boolean isStatic() Return true if the method includes the | |
| isVarArgs | back to summary |
|---|---|
| public boolean isVarArgs() Return true if the method takes a variable number of arguments. | |
| setAccessible | back to summary |
|---|---|
| public void setAccessible(boolean accessible) | |