test_class.declarator: running = false
test_class.modifier: volatile
test_class.original_string: volatile boolean running = false;
test_class.type: boolean
test_class.var_name: running
test_class.file: core/src/test/java/com/github/olivergondza/dumpling/query/DeadlocksTest.java
test_class.identifier: DeadlocksTest
test_case.body: @Test
      public void doNotReportThreadsNotPartOfTheCycle() throws Exception {
          ThreadDumpRuntime runtime = new ThreadDumpFactory().fromStream(Util.resource("jstack/deadlock-and-friends.log"));
          Result<ThreadDumpThreadSet, ThreadDumpRuntime, ThreadDumpThread> result = new Deadlocks().query(runtime.getThreads());
          Set<ThreadDumpThreadSet> deadlocks = result.getDeadlocks();
          assertThat("Deadlock count", deadlocks.size(), equalTo(1));
  
          ThreadDumpThreadSet deadlock = deadlocks.iterator().next();
          assertThat(deadlock.size(), equalTo(2));
  
          assertThat("Involved thread count", result.involvedThreads().size(), equalTo(2));
  
          assertThat(result.toString(), startsWith(Util.multiline("",
                  "Monitor Deadlock #1:",
                  "\"Handling POST /view/OuterNestedView/view/NestedView/view/ListView/configSubmit : ajp-127.0.0.1-8009-50\" daemon prio=10 tid=0x2ae6480d2000 nid=5776",
                  "\tWaiting to <0x4033105e0> (a hudson.model.Hudson)",
                  "\tAcquired * <0x40e73a1c8> (a hudson.model.ListView)",
                  "\"Handling POST /view/OuterNestedView/view/NestedView/view/ListView/job/a_job/doRename : ajp-127.0.0.1-8009-103\" daemon prio=10 tid=0x2ae5faf3e800 nid=16734",
                  "\tWaiting to <0x40e73a1c8> (a hudson.model.ListView)",
                  "\tAcquired   <0x40e739e30> (a hudson.plugins.nested_view.NestedView)",
                  "\tAcquired   <0x40e739d18> (a hudson.plugins.nested_view.NestedView)",
                  "\tAcquired   <0x4c859ae10> (a hudson.matrix.MatrixProject)",
                  "\tAcquired * <0x4033105e0> (a hudson.model.Hudson)"
          )));
      }
test_case.class_method_signature: DeadlocksTest.doNotReportThreadsNotPartOfTheCycle()
test_case.full_signature: @Test public void doNotReportThreadsNotPartOfTheCycle()
test_case.identifier: doNotReportThreadsNotPartOfTheCycle
test_case.invocations: fromStream resource query getThreads getDeadlocks assertThat size equalTo next iterator assertThat size equalTo assertThat size involvedThreads equalTo assertThat toString startsWith multiline
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void doNotReportThreadsNotPartOfTheCycle()
focal_class.declarator: showStackTraces = false
focal_class.modifier: private
focal_class.original_string: private boolean showStackTraces = false;
focal_class.type: boolean
focal_class.var_name: showStackTraces
focal_class.file: core/src/main/java/com/github/olivergondza/dumpling/query/Deadlocks.java
focal_class.identifier: Deadlocks
focal_class.interfaces: implements SingleThreadSetQuery<Deadlocks.Result<?, ?, ?>>
focal_class.class_method_signature: Deadlocks.showStackTraces()
focal_class.full_signature: public Deadlocks showStackTraces()
focal_class.identifier: showStackTraces
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Deadlocks
focal_class.signature: Deadlocks showStackTraces()
focal_class.class_method_signature: Deadlocks.query(@Nonnull SetType threads)
focal_class.full_signature: @Override public @Nonnull Result<SetType, RuntimeType, ThreadType> query(@Nonnull SetType threads)
focal_class.identifier: query
focal_class.modifiers: @Override public @Nonnull
focal_class.parameters: (@Nonnull SetType threads)
focal_class.return: Result<SetType, RuntimeType, ThreadType>
focal_class.signature: Result<SetType, RuntimeType, ThreadType> query(@Nonnull SetType threads)
focal_method.body: @Override
      public @Nonnull <
              SetType extends ThreadSet<SetType, RuntimeType, ThreadType>,
              RuntimeType extends ProcessRuntime<RuntimeType, SetType, ThreadType>,
              ThreadType extends ProcessThread<ThreadType, SetType, RuntimeType>
      > Result<SetType, RuntimeType, ThreadType> query(@Nonnull SetType threads) {
          return new Result<SetType, RuntimeType, ThreadType>(threads, showStackTraces);
      }
focal_method.class_method_signature: Deadlocks.query(@Nonnull SetType threads)
focal_method.full_signature: @Override public @Nonnull Result<SetType, RuntimeType, ThreadType> query(@Nonnull SetType threads)
focal_method.identifier: query
focal_method.modifiers: @Override public @Nonnull
focal_method.parameters: (@Nonnull SetType threads)
focal_method.return: Result<SetType, RuntimeType, ThreadType>
focal_method.signature: Result<SetType, RuntimeType, ThreadType> query(@Nonnull SetType threads)