test_class.file: dubbo-common/src/test/java/com/alibaba/dubbo/common/concurrent/ListenableFutureTaskTest.java
test_class.identifier: ListenableFutureTaskTest
test_case.body: @Test
      public void testRunnableResponse() throws ExecutionException, InterruptedException {
          ListenableFutureTask<Boolean> futureTask = ListenableFutureTask.create(new Runnable() {
              @Override
              public void run() {
                  try {
                      Thread.sleep(500);
                  } catch (InterruptedException e) {
                      e.printStackTrace();
                  }
              }
          }, true);
          futureTask.run();
  
          Boolean result = futureTask.get();
          assertThat(result, is(true));
      }
test_case.class_method_signature: ListenableFutureTaskTest.testRunnableResponse()
test_case.full_signature: @Test public void testRunnableResponse()
test_case.identifier: testRunnableResponse
test_case.invocations: create sleep printStackTrace run get assertThat is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testRunnableResponse()
focal_class.declarator: executionList = new ExecutionList()
focal_class.modifier: private final
focal_class.original_string: private final ExecutionList executionList = new ExecutionList();
focal_class.type: ExecutionList
focal_class.var_name: executionList
focal_class.file: dubbo-common/src/main/java/com/alibaba/dubbo/common/concurrent/ListenableFutureTask.java
focal_class.identifier: ListenableFutureTask
focal_class.interfaces: implements ListenableFuture<V>
focal_class.class_method_signature: ListenableFutureTask.create(Callable<V> callable)
focal_class.full_signature: public static ListenableFutureTask<V> create(Callable<V> callable)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (Callable<V> callable)
focal_class.return: ListenableFutureTask<V>
focal_class.signature: ListenableFutureTask<V> create(Callable<V> callable)
focal_class.class_method_signature: ListenableFutureTask.create(
              Runnable runnable, V result)
focal_class.full_signature: public static ListenableFutureTask<V> create(
              Runnable runnable, V result)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (
              Runnable runnable, V result)
focal_class.return: ListenableFutureTask<V>
focal_class.signature: ListenableFutureTask<V> create(
              Runnable runnable, V result)
focal_class.class_method_signature: ListenableFutureTask.ListenableFutureTask(Callable<V> callable)
focal_class.full_signature:   ListenableFutureTask(Callable<V> callable)
focal_class.identifier: ListenableFutureTask
focal_class.parameters: (Callable<V> callable)
focal_class.signature:  ListenableFutureTask(Callable<V> callable)
focal_class.class_method_signature: ListenableFutureTask.ListenableFutureTask(Runnable runnable, V result)
focal_class.full_signature:   ListenableFutureTask(Runnable runnable, V result)
focal_class.identifier: ListenableFutureTask
focal_class.parameters: (Runnable runnable, V result)
focal_class.signature:  ListenableFutureTask(Runnable runnable, V result)
focal_class.class_method_signature: ListenableFutureTask.addListener(Runnable listener, Executor exec)
focal_class.full_signature: @Override public void addListener(Runnable listener, Executor exec)
focal_class.identifier: addListener
focal_class.modifiers: @Override public
focal_class.parameters: (Runnable listener, Executor exec)
focal_class.return: void
focal_class.signature: void addListener(Runnable listener, Executor exec)
focal_class.class_method_signature: ListenableFutureTask.addListener(Runnable listener)
focal_class.full_signature: @Override public void addListener(Runnable listener)
focal_class.identifier: addListener
focal_class.modifiers: @Override public
focal_class.parameters: (Runnable listener)
focal_class.return: void
focal_class.signature: void addListener(Runnable listener)
focal_class.class_method_signature: ListenableFutureTask.done()
focal_class.full_signature: @Override protected void done()
focal_class.identifier: done
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void done()
focal_class.superclass: extends FutureTask<V>
focal_method.body: public static <V> ListenableFutureTask<V> create(Callable<V> callable) {
          return new ListenableFutureTask<V>(callable);
      }
focal_method.class_method_signature: ListenableFutureTask.create(Callable<V> callable)
focal_method.full_signature: public static ListenableFutureTask<V> create(Callable<V> callable)
focal_method.identifier: create
focal_method.modifiers: public static
focal_method.parameters: (Callable<V> callable)
focal_method.return: ListenableFutureTask<V>
focal_method.signature: ListenableFutureTask<V> create(Callable<V> callable)