Remove unecessary ReflectionField#invoke() method
This commit is contained in:
parent
5187b37e53
commit
8792813e34
1 changed files with 0 additions and 16 deletions
|
@ -342,22 +342,6 @@ public final class ReflectionMethod {
|
|||
return method.getGenericReturnType();
|
||||
}
|
||||
|
||||
/**
|
||||
* Invokes the method.
|
||||
*
|
||||
* @return method return value
|
||||
* @throws UnexpectedThrowableException if the {@code modifiers} field could not be found
|
||||
* @throws NoAccessException if access to the method has been denied
|
||||
* @throws InvalidMethodSignature if the method signature is incorrect
|
||||
* @throws InvocationTargetException covers exceptions thrown by the method
|
||||
* @throws InstanceMethodFromStaticContextException when the target method is non-static and called from a static context
|
||||
* @throws StaticInitializerException when an the static initializer fails
|
||||
* @since v1-alpha2
|
||||
*/
|
||||
public @Nullable Object invoke() throws UnexpectedThrowableException, NoAccessException, InvalidMethodSignature, InvocationTargetException, InstanceMethodFromStaticContextException, StaticInitializerException {
|
||||
return invoke(new Object[0]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Invokes the method.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue