test_class.declarator: THREADS = 10
test_class.modifier: private static final
test_class.original_string: private static final int THREADS = 10;
test_class.type: int
test_class.var_name: THREADS
test_class.declarator: PERFORMANCE_THREAD_COUNT = 1000
test_class.modifier: private static final
test_class.original_string: private static final int PERFORMANCE_THREAD_COUNT = 1000;
test_class.type: int
test_class.var_name: PERFORMANCE_THREAD_COUNT
test_class.declarator: GET_COUNT = 1000000
test_class.modifier: private static final
test_class.original_string: private static final int GET_COUNT = 1000000;
test_class.type: int
test_class.var_name: GET_COUNT
test_class.file: dubbo-common/src/test/java/org/apache/dubbo/common/threadlocal/InternalThreadLocalTest.java
test_class.identifier: InternalThreadLocalTest
test_case.body: @Test
      public void testRemove() {
          final InternalThreadLocal<Integer> internalThreadLocal = new InternalThreadLocal<Integer>();
          internalThreadLocal.set(1);
          Assertions.assertEquals(1, (int)internalThreadLocal.get(), "get method false!");
  
          internalThreadLocal.remove();
          Assertions.assertNull(internalThreadLocal.get(), "remove failed!");
      }
test_case.class_method_signature: InternalThreadLocalTest.testRemove()
test_case.full_signature: @Test public void testRemove()
test_case.identifier: testRemove
test_case.invocations: set assertEquals get remove assertNull get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testRemove()
focal_class.declarator: VARIABLES_TO_REMOVE_INDEX = InternalThreadLocalMap.nextVariableIndex()
focal_class.modifier: private static final
focal_class.original_string: private static final int VARIABLES_TO_REMOVE_INDEX = InternalThreadLocalMap.nextVariableIndex();
focal_class.type: int
focal_class.var_name: VARIABLES_TO_REMOVE_INDEX
focal_class.declarator: index
focal_class.modifier: private final
focal_class.original_string: private final int index;
focal_class.type: int
focal_class.var_name: index
focal_class.file: dubbo-common/src/main/java/org/apache/dubbo/common/threadlocal/InternalThreadLocal.java
focal_class.identifier: InternalThreadLocal
focal_class.class_method_signature: InternalThreadLocal.InternalThreadLocal()
focal_class.full_signature: public  InternalThreadLocal()
focal_class.identifier: InternalThreadLocal
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  InternalThreadLocal()
focal_class.class_method_signature: InternalThreadLocal.removeAll()
focal_class.full_signature: @SuppressWarnings("unchecked") public static void removeAll()
focal_class.identifier: removeAll
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void removeAll()
focal_class.class_method_signature: InternalThreadLocal.size()
focal_class.full_signature: public static int size()
focal_class.identifier: size
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int size()
focal_class.class_method_signature: InternalThreadLocal.destroy()
focal_class.full_signature: public static void destroy()
focal_class.identifier: destroy
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void destroy()
focal_class.class_method_signature: InternalThreadLocal.addToVariablesToRemove(InternalThreadLocalMap threadLocalMap, InternalThreadLocal<?> variable)
focal_class.full_signature: @SuppressWarnings("unchecked") private static void addToVariablesToRemove(InternalThreadLocalMap threadLocalMap, InternalThreadLocal<?> variable)
focal_class.identifier: addToVariablesToRemove
focal_class.modifiers: @SuppressWarnings("unchecked") private static
focal_class.parameters: (InternalThreadLocalMap threadLocalMap, InternalThreadLocal<?> variable)
focal_class.return: void
focal_class.signature: void addToVariablesToRemove(InternalThreadLocalMap threadLocalMap, InternalThreadLocal<?> variable)
focal_class.class_method_signature: InternalThreadLocal.removeFromVariablesToRemove(InternalThreadLocalMap threadLocalMap, InternalThreadLocal<?> variable)
focal_class.full_signature: @SuppressWarnings("unchecked") private static void removeFromVariablesToRemove(InternalThreadLocalMap threadLocalMap, InternalThreadLocal<?> variable)
focal_class.identifier: removeFromVariablesToRemove
focal_class.modifiers: @SuppressWarnings("unchecked") private static
focal_class.parameters: (InternalThreadLocalMap threadLocalMap, InternalThreadLocal<?> variable)
focal_class.return: void
focal_class.signature: void removeFromVariablesToRemove(InternalThreadLocalMap threadLocalMap, InternalThreadLocal<?> variable)
focal_class.class_method_signature: InternalThreadLocal.get()
focal_class.full_signature: @SuppressWarnings("unchecked") public final V get()
focal_class.identifier: get
focal_class.modifiers: @SuppressWarnings("unchecked") public final
focal_class.parameters: ()
focal_class.return: V
focal_class.signature: V get()
focal_class.class_method_signature: InternalThreadLocal.initialize(InternalThreadLocalMap threadLocalMap)
focal_class.full_signature: private V initialize(InternalThreadLocalMap threadLocalMap)
focal_class.identifier: initialize
focal_class.modifiers: private
focal_class.parameters: (InternalThreadLocalMap threadLocalMap)
focal_class.return: V
focal_class.signature: V initialize(InternalThreadLocalMap threadLocalMap)
focal_class.class_method_signature: InternalThreadLocal.set(V value)
focal_class.full_signature: public final void set(V value)
focal_class.identifier: set
focal_class.modifiers: public final
focal_class.parameters: (V value)
focal_class.return: void
focal_class.signature: void set(V value)
focal_class.class_method_signature: InternalThreadLocal.remove()
focal_class.full_signature: @SuppressWarnings("unchecked") public final void remove()
focal_class.identifier: remove
focal_class.modifiers: @SuppressWarnings("unchecked") public final
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void remove()
focal_class.class_method_signature: InternalThreadLocal.remove(InternalThreadLocalMap threadLocalMap)
focal_class.full_signature: @SuppressWarnings("unchecked") public final void remove(InternalThreadLocalMap threadLocalMap)
focal_class.identifier: remove
focal_class.modifiers: @SuppressWarnings("unchecked") public final
focal_class.parameters: (InternalThreadLocalMap threadLocalMap)
focal_class.return: void
focal_class.signature: void remove(InternalThreadLocalMap threadLocalMap)
focal_class.class_method_signature: InternalThreadLocal.initialValue()
focal_class.full_signature: protected V initialValue()
focal_class.identifier: initialValue
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: V
focal_class.signature: V initialValue()
focal_class.class_method_signature: InternalThreadLocal.onRemoval(@SuppressWarnings("unused") V value)
focal_class.full_signature: protected void onRemoval(@SuppressWarnings("unused") V value)
focal_class.identifier: onRemoval
focal_class.modifiers: protected
focal_class.parameters: (@SuppressWarnings("unused") V value)
focal_class.return: void
focal_class.signature: void onRemoval(@SuppressWarnings("unused") V value)
focal_method.body: @SuppressWarnings("unchecked")
      public final void remove() {
          remove(InternalThreadLocalMap.getIfSet());
      }
focal_method.class_method_signature: InternalThreadLocal.remove()
focal_method.full_signature: @SuppressWarnings("unchecked") public final void remove()
focal_method.identifier: remove
focal_method.invocations: remove getIfSet
focal_method.modifiers: @SuppressWarnings("unchecked") public final
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void remove()