MCPcopy Create free account
hub / github.com/ReadyTalk/avian / test6

Method test6

test/Subroutine.java:256–264  ·  view source on GitHub ↗
(boolean predicate)

Source from the content-addressed store, hash-verified

254 }
255
256 private static int test6(boolean predicate) {
257 try {
258 if (predicate) {
259 return -2;
260 }
261 } finally {
262 return new Throwable().getStackTrace()[0].getLineNumber();
263 }
264 }
265
266 public static void main(String[] args) throws Exception {
267 test(false, false);

Callers 1

mainMethod · 0.95

Calls 2

getLineNumberMethod · 0.45
getStackTraceMethod · 0.45

Tested by

no test coverage detected