(String name, Class<?>... parameterTypes)
| 476 | } |
| 477 | |
| 478 | @GwtIncompatible // java.lang.reflect |
| 479 | @Nullable |
| 480 | private static Method getJlaMethod(String name, Class<?>... parameterTypes) throws ThreadDeath { |
| 481 | try { |
| 482 | return Class.forName(JAVA_LANG_ACCESS_CLASSNAME, false, null).getMethod(name, parameterTypes); |
| 483 | } catch (ThreadDeath death) { |
| 484 | throw death; |
| 485 | } catch (Throwable t) { |
| 486 | /* |
| 487 | * Either the JavaLangAccess class itself is not found, or the method is not supported on the |
| 488 | * JVM. |
| 489 | */ |
| 490 | return null; |
| 491 | } |
| 492 | } |
| 493 | } |
no outgoing calls
no test coverage detected