diff --git a/base/src/main/java/de/staropensource/sosengine/base/reflection/ReflectionMethod.java b/base/src/main/java/de/staropensource/sosengine/base/reflection/ReflectionMethod.java index 9e1c26c..4a5a712 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/reflection/ReflectionMethod.java +++ b/base/src/main/java/de/staropensource/sosengine/base/reflection/ReflectionMethod.java @@ -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. *