test_class.file: dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/AppResponseTest.java
test_class.identifier: AppResponseTest
test_case.body: @Test
      public void testAppResponseWithEmptyStackTraceException() {
          Throwable throwable = buildEmptyStackTraceException();
          if (throwable == null) {
              return;
          }
          AppResponse appResponse = new AppResponse(throwable);
  
          StackTraceElement[] stackTrace = appResponse.getException().getStackTrace();
          Assertions.assertNotNull(stackTrace);
          Assertions.assertEquals(0,stackTrace.length);
      }
test_case.class_method_signature: AppResponseTest.testAppResponseWithEmptyStackTraceException()
test_case.full_signature: @Test public void testAppResponseWithEmptyStackTraceException()
test_case.identifier: testAppResponseWithEmptyStackTraceException
test_case.invocations: buildEmptyStackTraceException getStackTrace getException assertNotNull assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAppResponseWithEmptyStackTraceException()
focal_class.declarator: serialVersionUID = -6925924956850004727L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = -6925924956850004727L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: result
focal_class.modifier: private
focal_class.original_string: private Object result;
focal_class.type: Object
focal_class.var_name: result
focal_class.declarator: exception
focal_class.modifier: private
focal_class.original_string: private Throwable exception;
focal_class.type: Throwable
focal_class.var_name: exception
focal_class.declarator: attachments = new HashMap<>()
focal_class.modifier: private
focal_class.original_string: private Map<String, Object> attachments = new HashMap<>();
focal_class.type: Map<String, Object>
focal_class.var_name: attachments
focal_class.file: dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/AppResponse.java
focal_class.identifier: AppResponse
focal_class.interfaces: implements Result
focal_class.class_method_signature: AppResponse.AppResponse()
focal_class.full_signature: public  AppResponse()
focal_class.identifier: AppResponse
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  AppResponse()
focal_class.class_method_signature: AppResponse.AppResponse(Object result)
focal_class.full_signature: public  AppResponse(Object result)
focal_class.identifier: AppResponse
focal_class.modifiers: public
focal_class.parameters: (Object result)
focal_class.signature:  AppResponse(Object result)
focal_class.class_method_signature: AppResponse.AppResponse(Throwable exception)
focal_class.full_signature: public  AppResponse(Throwable exception)
focal_class.identifier: AppResponse
focal_class.modifiers: public
focal_class.parameters: (Throwable exception)
focal_class.signature:  AppResponse(Throwable exception)
focal_class.class_method_signature: AppResponse.recreate()
focal_class.full_signature: @Override public Object recreate()
focal_class.identifier: recreate
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Object
focal_class.signature: Object recreate()
focal_class.class_method_signature: AppResponse.getValue()
focal_class.full_signature: @Override public Object getValue()
focal_class.identifier: getValue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Object
focal_class.signature: Object getValue()
focal_class.class_method_signature: AppResponse.setValue(Object value)
focal_class.full_signature: @Override public void setValue(Object value)
focal_class.identifier: setValue
focal_class.modifiers: @Override public
focal_class.parameters: (Object value)
focal_class.return: void
focal_class.signature: void setValue(Object value)
focal_class.class_method_signature: AppResponse.getException()
focal_class.full_signature: @Override public Throwable getException()
focal_class.identifier: getException
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Throwable
focal_class.signature: Throwable getException()
focal_class.class_method_signature: AppResponse.setException(Throwable e)
focal_class.full_signature: @Override public void setException(Throwable e)
focal_class.identifier: setException
focal_class.modifiers: @Override public
focal_class.parameters: (Throwable e)
focal_class.return: void
focal_class.signature: void setException(Throwable e)
focal_class.class_method_signature: AppResponse.hasException()
focal_class.full_signature: @Override public boolean hasException()
focal_class.identifier: hasException
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasException()
focal_class.class_method_signature: AppResponse.getAttachments()
focal_class.full_signature: @Override @Deprecated public Map<String, String> getAttachments()
focal_class.identifier: getAttachments
focal_class.modifiers: @Override @Deprecated public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getAttachments()
focal_class.class_method_signature: AppResponse.getObjectAttachments()
focal_class.full_signature: @Override public Map<String, Object> getObjectAttachments()
focal_class.identifier: getObjectAttachments
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getObjectAttachments()
focal_class.class_method_signature: AppResponse.setAttachments(Map<String, String> map)
focal_class.full_signature: public void setAttachments(Map<String, String> map)
focal_class.identifier: setAttachments
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> map)
focal_class.return: void
focal_class.signature: void setAttachments(Map<String, String> map)
focal_class.class_method_signature: AppResponse.setObjectAttachments(Map<String, Object> map)
focal_class.full_signature: @Override public void setObjectAttachments(Map<String, Object> map)
focal_class.identifier: setObjectAttachments
focal_class.modifiers: @Override public
focal_class.parameters: (Map<String, Object> map)
focal_class.return: void
focal_class.signature: void setObjectAttachments(Map<String, Object> map)
focal_class.class_method_signature: AppResponse.addAttachments(Map<String, String> map)
focal_class.full_signature: public void addAttachments(Map<String, String> map)
focal_class.identifier: addAttachments
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> map)
focal_class.return: void
focal_class.signature: void addAttachments(Map<String, String> map)
focal_class.class_method_signature: AppResponse.addObjectAttachments(Map<String, Object> map)
focal_class.full_signature: @Override public void addObjectAttachments(Map<String, Object> map)
focal_class.identifier: addObjectAttachments
focal_class.modifiers: @Override public
focal_class.parameters: (Map<String, Object> map)
focal_class.return: void
focal_class.signature: void addObjectAttachments(Map<String, Object> map)
focal_class.class_method_signature: AppResponse.getAttachment(String key)
focal_class.full_signature: @Override public String getAttachment(String key)
focal_class.identifier: getAttachment
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: String
focal_class.signature: String getAttachment(String key)
focal_class.class_method_signature: AppResponse.getObjectAttachment(String key)
focal_class.full_signature: @Override public Object getObjectAttachment(String key)
focal_class.identifier: getObjectAttachment
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: Object
focal_class.signature: Object getObjectAttachment(String key)
focal_class.class_method_signature: AppResponse.getAttachment(String key, String defaultValue)
focal_class.full_signature: @Override public String getAttachment(String key, String defaultValue)
focal_class.identifier: getAttachment
focal_class.modifiers: @Override public
focal_class.parameters: (String key, String defaultValue)
focal_class.return: String
focal_class.signature: String getAttachment(String key, String defaultValue)
focal_class.class_method_signature: AppResponse.getObjectAttachment(String key, Object defaultValue)
focal_class.full_signature: @Override public Object getObjectAttachment(String key, Object defaultValue)
focal_class.identifier: getObjectAttachment
focal_class.modifiers: @Override public
focal_class.parameters: (String key, Object defaultValue)
focal_class.return: Object
focal_class.signature: Object getObjectAttachment(String key, Object defaultValue)
focal_class.class_method_signature: AppResponse.setAttachment(String key, String value)
focal_class.full_signature: @Override public void setAttachment(String key, String value)
focal_class.identifier: setAttachment
focal_class.modifiers: @Override public
focal_class.parameters: (String key, String value)
focal_class.return: void
focal_class.signature: void setAttachment(String key, String value)
focal_class.class_method_signature: AppResponse.setAttachment(String key, Object value)
focal_class.full_signature: @Override public void setAttachment(String key, Object value)
focal_class.identifier: setAttachment
focal_class.modifiers: @Override public
focal_class.parameters: (String key, Object value)
focal_class.return: void
focal_class.signature: void setAttachment(String key, Object value)
focal_class.class_method_signature: AppResponse.setObjectAttachment(String key, Object value)
focal_class.full_signature: @Override public void setObjectAttachment(String key, Object value)
focal_class.identifier: setObjectAttachment
focal_class.modifiers: @Override public
focal_class.parameters: (String key, Object value)
focal_class.return: void
focal_class.signature: void setObjectAttachment(String key, Object value)
focal_class.class_method_signature: AppResponse.whenCompleteWithContext(BiConsumer<Result, Throwable> fn)
focal_class.full_signature: @Override public Result whenCompleteWithContext(BiConsumer<Result, Throwable> fn)
focal_class.identifier: whenCompleteWithContext
focal_class.modifiers: @Override public
focal_class.parameters: (BiConsumer<Result, Throwable> fn)
focal_class.return: Result
focal_class.signature: Result whenCompleteWithContext(BiConsumer<Result, Throwable> fn)
focal_class.class_method_signature: AppResponse.thenApply(Function<Result, ? extends U> fn)
focal_class.full_signature: @Override public CompletableFuture<U> thenApply(Function<Result, ? extends U> fn)
focal_class.identifier: thenApply
focal_class.modifiers: @Override public
focal_class.parameters: (Function<Result, ? extends U> fn)
focal_class.return: CompletableFuture<U>
focal_class.signature: CompletableFuture<U> thenApply(Function<Result, ? extends U> fn)
focal_class.class_method_signature: AppResponse.get()
focal_class.full_signature: @Override public Result get()
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Result
focal_class.signature: Result get()
focal_class.class_method_signature: AppResponse.get(long timeout, TimeUnit unit)
focal_class.full_signature: @Override public Result get(long timeout, TimeUnit unit)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (long timeout, TimeUnit unit)
focal_class.return: Result
focal_class.signature: Result get(long timeout, TimeUnit unit)
focal_class.class_method_signature: AppResponse.clear()
focal_class.full_signature: public void clear()
focal_class.identifier: clear
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: AppResponse.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
      public Throwable getException() {
          return exception;
      }
focal_method.class_method_signature: AppResponse.getException()
focal_method.full_signature: @Override public Throwable getException()
focal_method.identifier: getException
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Throwable
focal_method.signature: Throwable getException()