(String name, Class<?>... parameterTypes)
| 457 | } |
| 458 | |
| 459 | @GwtIncompatible // java.lang.reflect |
| 460 | @Nullable |
| 461 | private static Method getJlaMethod(String name, Class<?>... parameterTypes) throws ThreadDeath { |
| 462 | try { |
| 463 | return Class.forName(JAVA_LANG_ACCESS_CLASSNAME, false, null).getMethod(name, parameterTypes); |
| 464 | } catch (ThreadDeath death) { |
| 465 | throw death; |
| 466 | } catch (Throwable t) { |
| 467 | /* |
| 468 | * Either the JavaLangAccess class itself is not found, or the method is not supported on the |
| 469 | * JVM. |
| 470 | */ |
| 471 | return null; |
| 472 | } |
| 473 | } |
| 474 | } |
no outgoing calls
no test coverage detected