MCPcopy Create free account
hub / github.com/antlr/codebuff / getJlaMethod

Method getJlaMethod

corpus/java/training/guava/base/Throwables.java:459–473  ·  view source on GitHub ↗
(String name, Class<?>... parameterTypes)

Source from the content-addressed store, hash-verified

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}

Callers 2

getGetMethodMethod · 0.95
getSizeMethodMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected