test_class.file: dubbo-common/src/test/java/org/apache/dubbo/common/compiler/support/ClassUtilsTest.java
test_class.identifier: ClassUtilsTest
test_case.body: @Test
      public void testForName1() {
          Assertions.assertThrows(IllegalStateException.class, () -> ClassUtils.forName(new String[]{"org.apache.dubbo.common.compiler.support"}, "HelloServiceImplXX"));
      }
test_case.class_method_signature: ClassUtilsTest.testForName1()
test_case.full_signature: @Test public void testForName1()
test_case.identifier: testForName1
test_case.invocations: assertThrows forName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testForName1()
focal_class.declarator: CLASS_EXTENSION = ".class"
focal_class.modifier: public static final
focal_class.original_string: public static final String CLASS_EXTENSION = ".class";
focal_class.type: String
focal_class.var_name: CLASS_EXTENSION
focal_class.declarator: JAVA_EXTENSION = ".java"
focal_class.modifier: public static final
focal_class.original_string: public static final String JAVA_EXTENSION = ".java";
focal_class.type: String
focal_class.var_name: JAVA_EXTENSION
focal_class.declarator: JIT_LIMIT = 5 * 1024
focal_class.modifier: private static final
focal_class.original_string: private static final int JIT_LIMIT = 5 * 1024;
focal_class.type: int
focal_class.var_name: JIT_LIMIT
focal_class.file: dubbo-common/src/main/java/org/apache/dubbo/common/compiler/support/ClassUtils.java
focal_class.identifier: ClassUtils
focal_class.class_method_signature: ClassUtils.ClassUtils()
focal_class.full_signature: private  ClassUtils()
focal_class.identifier: ClassUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ClassUtils()
focal_class.class_method_signature: ClassUtils.newInstance(String name)
focal_class.full_signature: public static Object newInstance(String name)
focal_class.identifier: newInstance
focal_class.modifiers: public static
focal_class.parameters: (String name)
focal_class.return: Object
focal_class.signature: Object newInstance(String name)
focal_class.class_method_signature: ClassUtils.forName(String[] packages, String className)
focal_class.full_signature: public static Class<?> forName(String[] packages, String className)
focal_class.identifier: forName
focal_class.modifiers: public static
focal_class.parameters: (String[] packages, String className)
focal_class.return: Class<?>
focal_class.signature: Class<?> forName(String[] packages, String className)
focal_class.class_method_signature: ClassUtils.forName(String className)
focal_class.full_signature: public static Class<?> forName(String className)
focal_class.identifier: forName
focal_class.modifiers: public static
focal_class.parameters: (String className)
focal_class.return: Class<?>
focal_class.signature: Class<?> forName(String className)
focal_class.class_method_signature: ClassUtils.classForName(String className)
focal_class.full_signature: public static Class<?> classForName(String className)
focal_class.identifier: classForName
focal_class.modifiers: public static
focal_class.parameters: (String className)
focal_class.return: Class<?>
focal_class.signature: Class<?> classForName(String className)
focal_class.class_method_signature: ClassUtils.arrayForName(String className)
focal_class.full_signature: private static Class<?> arrayForName(String className)
focal_class.identifier: arrayForName
focal_class.modifiers: private static
focal_class.parameters: (String className)
focal_class.return: Class<?>
focal_class.signature: Class<?> arrayForName(String className)
focal_class.class_method_signature: ClassUtils.getBoxedClass(Class<?> type)
focal_class.full_signature: public static Class<?> getBoxedClass(Class<?> type)
focal_class.identifier: getBoxedClass
focal_class.modifiers: public static
focal_class.parameters: (Class<?> type)
focal_class.return: Class<?>
focal_class.signature: Class<?> getBoxedClass(Class<?> type)
focal_class.class_method_signature: ClassUtils.boxed(boolean v)
focal_class.full_signature: public static Boolean boxed(boolean v)
focal_class.identifier: boxed
focal_class.modifiers: public static
focal_class.parameters: (boolean v)
focal_class.return: Boolean
focal_class.signature: Boolean boxed(boolean v)
focal_class.class_method_signature: ClassUtils.boxed(char v)
focal_class.full_signature: public static Character boxed(char v)
focal_class.identifier: boxed
focal_class.modifiers: public static
focal_class.parameters: (char v)
focal_class.return: Character
focal_class.signature: Character boxed(char v)
focal_class.class_method_signature: ClassUtils.boxed(byte v)
focal_class.full_signature: public static Byte boxed(byte v)
focal_class.identifier: boxed
focal_class.modifiers: public static
focal_class.parameters: (byte v)
focal_class.return: Byte
focal_class.signature: Byte boxed(byte v)
focal_class.class_method_signature: ClassUtils.boxed(short v)
focal_class.full_signature: public static Short boxed(short v)
focal_class.identifier: boxed
focal_class.modifiers: public static
focal_class.parameters: (short v)
focal_class.return: Short
focal_class.signature: Short boxed(short v)
focal_class.class_method_signature: ClassUtils.boxed(int v)
focal_class.full_signature: public static Integer boxed(int v)
focal_class.identifier: boxed
focal_class.modifiers: public static
focal_class.parameters: (int v)
focal_class.return: Integer
focal_class.signature: Integer boxed(int v)
focal_class.class_method_signature: ClassUtils.boxed(long v)
focal_class.full_signature: public static Long boxed(long v)
focal_class.identifier: boxed
focal_class.modifiers: public static
focal_class.parameters: (long v)
focal_class.return: Long
focal_class.signature: Long boxed(long v)
focal_class.class_method_signature: ClassUtils.boxed(float v)
focal_class.full_signature: public static Float boxed(float v)
focal_class.identifier: boxed
focal_class.modifiers: public static
focal_class.parameters: (float v)
focal_class.return: Float
focal_class.signature: Float boxed(float v)
focal_class.class_method_signature: ClassUtils.boxed(double v)
focal_class.full_signature: public static Double boxed(double v)
focal_class.identifier: boxed
focal_class.modifiers: public static
focal_class.parameters: (double v)
focal_class.return: Double
focal_class.signature: Double boxed(double v)
focal_class.class_method_signature: ClassUtils.boxed(Object v)
focal_class.full_signature: public static Object boxed(Object v)
focal_class.identifier: boxed
focal_class.modifiers: public static
focal_class.parameters: (Object v)
focal_class.return: Object
focal_class.signature: Object boxed(Object v)
focal_class.class_method_signature: ClassUtils.unboxed(Boolean v)
focal_class.full_signature: public static boolean unboxed(Boolean v)
focal_class.identifier: unboxed
focal_class.modifiers: public static
focal_class.parameters: (Boolean v)
focal_class.return: boolean
focal_class.signature: boolean unboxed(Boolean v)
focal_class.class_method_signature: ClassUtils.unboxed(Character v)
focal_class.full_signature: public static char unboxed(Character v)
focal_class.identifier: unboxed
focal_class.modifiers: public static
focal_class.parameters: (Character v)
focal_class.return: char
focal_class.signature: char unboxed(Character v)
focal_class.class_method_signature: ClassUtils.unboxed(Byte v)
focal_class.full_signature: public static byte unboxed(Byte v)
focal_class.identifier: unboxed
focal_class.modifiers: public static
focal_class.parameters: (Byte v)
focal_class.return: byte
focal_class.signature: byte unboxed(Byte v)
focal_class.class_method_signature: ClassUtils.unboxed(Short v)
focal_class.full_signature: public static short unboxed(Short v)
focal_class.identifier: unboxed
focal_class.modifiers: public static
focal_class.parameters: (Short v)
focal_class.return: short
focal_class.signature: short unboxed(Short v)
focal_class.class_method_signature: ClassUtils.unboxed(Integer v)
focal_class.full_signature: public static int unboxed(Integer v)
focal_class.identifier: unboxed
focal_class.modifiers: public static
focal_class.parameters: (Integer v)
focal_class.return: int
focal_class.signature: int unboxed(Integer v)
focal_class.class_method_signature: ClassUtils.unboxed(Long v)
focal_class.full_signature: public static long unboxed(Long v)
focal_class.identifier: unboxed
focal_class.modifiers: public static
focal_class.parameters: (Long v)
focal_class.return: long
focal_class.signature: long unboxed(Long v)
focal_class.class_method_signature: ClassUtils.unboxed(Float v)
focal_class.full_signature: public static float unboxed(Float v)
focal_class.identifier: unboxed
focal_class.modifiers: public static
focal_class.parameters: (Float v)
focal_class.return: float
focal_class.signature: float unboxed(Float v)
focal_class.class_method_signature: ClassUtils.unboxed(Double v)
focal_class.full_signature: public static double unboxed(Double v)
focal_class.identifier: unboxed
focal_class.modifiers: public static
focal_class.parameters: (Double v)
focal_class.return: double
focal_class.signature: double unboxed(Double v)
focal_class.class_method_signature: ClassUtils.unboxed(Object v)
focal_class.full_signature: public static Object unboxed(Object v)
focal_class.identifier: unboxed
focal_class.modifiers: public static
focal_class.parameters: (Object v)
focal_class.return: Object
focal_class.signature: Object unboxed(Object v)
focal_class.class_method_signature: ClassUtils.isNotEmpty(Object object)
focal_class.full_signature: public static boolean isNotEmpty(Object object)
focal_class.identifier: isNotEmpty
focal_class.modifiers: public static
focal_class.parameters: (Object object)
focal_class.return: boolean
focal_class.signature: boolean isNotEmpty(Object object)
focal_class.class_method_signature: ClassUtils.getSize(Object object)
focal_class.full_signature: public static int getSize(Object object)
focal_class.identifier: getSize
focal_class.modifiers: public static
focal_class.parameters: (Object object)
focal_class.return: int
focal_class.signature: int getSize(Object object)
focal_class.class_method_signature: ClassUtils.toURI(String name)
focal_class.full_signature: public static URI toURI(String name)
focal_class.identifier: toURI
focal_class.modifiers: public static
focal_class.parameters: (String name)
focal_class.return: URI
focal_class.signature: URI toURI(String name)
focal_class.class_method_signature: ClassUtils.getGenericClass(Class<?> cls)
focal_class.full_signature: public static Class<?> getGenericClass(Class<?> cls)
focal_class.identifier: getGenericClass
focal_class.modifiers: public static
focal_class.parameters: (Class<?> cls)
focal_class.return: Class<?>
focal_class.signature: Class<?> getGenericClass(Class<?> cls)
focal_class.class_method_signature: ClassUtils.getGenericClass(Class<?> cls, int i)
focal_class.full_signature: public static Class<?> getGenericClass(Class<?> cls, int i)
focal_class.identifier: getGenericClass
focal_class.modifiers: public static
focal_class.parameters: (Class<?> cls, int i)
focal_class.return: Class<?>
focal_class.signature: Class<?> getGenericClass(Class<?> cls, int i)
focal_class.class_method_signature: ClassUtils.isBeforeJava5(String javaVersion)
focal_class.full_signature: public static boolean isBeforeJava5(String javaVersion)
focal_class.identifier: isBeforeJava5
focal_class.modifiers: public static
focal_class.parameters: (String javaVersion)
focal_class.return: boolean
focal_class.signature: boolean isBeforeJava5(String javaVersion)
focal_class.class_method_signature: ClassUtils.isBeforeJava6(String javaVersion)
focal_class.full_signature: public static boolean isBeforeJava6(String javaVersion)
focal_class.identifier: isBeforeJava6
focal_class.modifiers: public static
focal_class.parameters: (String javaVersion)
focal_class.return: boolean
focal_class.signature: boolean isBeforeJava6(String javaVersion)
focal_class.class_method_signature: ClassUtils.toString(Throwable e)
focal_class.full_signature: public static String toString(Throwable e)
focal_class.identifier: toString
focal_class.modifiers: public static
focal_class.parameters: (Throwable e)
focal_class.return: String
focal_class.signature: String toString(Throwable e)
focal_class.class_method_signature: ClassUtils.checkBytecode(String name, byte[] bytecode)
focal_class.full_signature: public static void checkBytecode(String name, byte[] bytecode)
focal_class.identifier: checkBytecode
focal_class.modifiers: public static
focal_class.parameters: (String name, byte[] bytecode)
focal_class.return: void
focal_class.signature: void checkBytecode(String name, byte[] bytecode)
focal_class.class_method_signature: ClassUtils.getSizeMethod(Class<?> cls)
focal_class.full_signature: public static String getSizeMethod(Class<?> cls)
focal_class.identifier: getSizeMethod
focal_class.modifiers: public static
focal_class.parameters: (Class<?> cls)
focal_class.return: String
focal_class.signature: String getSizeMethod(Class<?> cls)
focal_class.class_method_signature: ClassUtils.getMethodName(Method method, Class<?>[] parameterClasses, String rightCode)
focal_class.full_signature: public static String getMethodName(Method method, Class<?>[] parameterClasses, String rightCode)
focal_class.identifier: getMethodName
focal_class.modifiers: public static
focal_class.parameters: (Method method, Class<?>[] parameterClasses, String rightCode)
focal_class.return: String
focal_class.signature: String getMethodName(Method method, Class<?>[] parameterClasses, String rightCode)
focal_class.class_method_signature: ClassUtils.searchMethod(Class<?> currentClass, String name, Class<?>[] parameterTypes)
focal_class.full_signature: public static Method searchMethod(Class<?> currentClass, String name, Class<?>[] parameterTypes)
focal_class.identifier: searchMethod
focal_class.modifiers: public static
focal_class.parameters: (Class<?> currentClass, String name, Class<?>[] parameterTypes)
focal_class.return: Method
focal_class.signature: Method searchMethod(Class<?> currentClass, String name, Class<?>[] parameterTypes)
focal_class.class_method_signature: ClassUtils.getInitCode(Class<?> type)
focal_class.full_signature: public static String getInitCode(Class<?> type)
focal_class.identifier: getInitCode
focal_class.modifiers: public static
focal_class.parameters: (Class<?> type)
focal_class.return: String
focal_class.signature: String getInitCode(Class<?> type)
focal_class.class_method_signature: ClassUtils.toMap(Map.Entry<K, V>[] entries)
focal_class.full_signature: public static Map<K, V> toMap(Map.Entry<K, V>[] entries)
focal_class.identifier: toMap
focal_class.modifiers: public static
focal_class.parameters: (Map.Entry<K, V>[] entries)
focal_class.return: Map<K, V>
focal_class.signature: Map<K, V> toMap(Map.Entry<K, V>[] entries)
focal_class.class_method_signature: ClassUtils.getSimpleClassName(String qualifiedName)
focal_class.full_signature: public static String getSimpleClassName(String qualifiedName)
focal_class.identifier: getSimpleClassName
focal_class.modifiers: public static
focal_class.parameters: (String qualifiedName)
focal_class.return: String
focal_class.signature: String getSimpleClassName(String qualifiedName)
focal_method.body: public static Class<?> forName(String[] packages, String className) {
          try {
              return classForName(className);
          } catch (ClassNotFoundException e) {
              if (packages != null && packages.length > 0) {
                  for (String pkg : packages) {
                      try {
                          return classForName(pkg + "." + className);
                      } catch (ClassNotFoundException e2) {
                      }
                  }
              }
              throw new IllegalStateException(e.getMessage(), e);
          }
      }
focal_method.class_method_signature: ClassUtils.forName(String[] packages, String className)
focal_method.full_signature: public static Class<?> forName(String[] packages, String className)
focal_method.identifier: forName
focal_method.invocations: classForName classForName getMessage
focal_method.modifiers: public static
focal_method.parameters: (String[] packages, String className)
focal_method.return: Class<?>
focal_method.signature: Class<?> forName(String[] packages, String className)