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

Method getGetMethod

corpus/java/training/guava/base/Throwables.java:443–447  ·  view source on GitHub ↗

Returns the Method that can be used to resolve an individual StackTraceElement, or null if that method cannot be found (it is only to be found in fairly recent JDKs).

()

Source from the content-addressed store, hash-verified

441 * method cannot be found (it is only to be found in fairly recent JDKs).
442 */
443 @GwtIncompatible // java.lang.reflect
444 @Nullable
445 private static Method getGetMethod() {
446 return getJlaMethod("getStackTraceElement", Throwable.class, int.class);
447 }
448
449 /**
450 * Returns the Method that can be used to return the size of a stack, or null if that method

Callers 1

ThrowablesClass · 0.95

Calls 1

getJlaMethodMethod · 0.95

Tested by

no test coverage detected