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

Method getJlaMethod

output/java_guava/1.4.17/Throwables.java:478–492  ·  view source on GitHub ↗
(String name, Class<?>... parameterTypes)

Source from the content-addressed store, hash-verified

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}

Callers 2

getGetMethodMethod · 0.95
getSizeMethodMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected