Skip to content

Commit

Permalink
多余方法清理
Browse files Browse the repository at this point in the history
  • Loading branch information
z529192557 committed Jun 12, 2020
1 parent 4ee52ac commit 8cf4ad6
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,6 @@ public static <T> T unCaughtInvokeMethod(final Method method,
}
}

public static void unCaughtInvokeVoidMethod(final Method method,
final Object target,
final Object... parameterArray) {
final boolean isAccessible = method.isAccessible();
try {
method.setAccessible(true);
method.invoke(target, parameterArray);
} catch (Throwable e) {
throw new UnCaughtException(e);
} finally {
method.setAccessible(isAccessible);
}
}


public static Field unCaughtGetClassDeclaredJavaField(final Class<?> clazz,
final String name) {
try {
Expand Down

0 comments on commit 8cf4ad6

Please sign in to comment.