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

Method getSizeMethod

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

Returns the Method that can be used to return the size of a stack, 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

451 * cannot be found (it is only to be found in fairly recent JDKs).
452 */
453 @GwtIncompatible // java.lang.reflect
454 @Nullable
455 private static Method getSizeMethod() {
456 return getJlaMethod("getStackTraceDepth", Throwable.class);
457 }
458
459 @GwtIncompatible // java.lang.reflect
460 @Nullable

Callers 1

ThrowablesClass · 0.95

Calls 1

getJlaMethodMethod · 0.95

Tested by

no test coverage detected