@Test public void testDrawParametersForConstructor() throws NoSuchMethodException { Class[] classesOfParameters = new Class[3]; classesOfParameters[0] = char[].class; classesOfParameters[1] = int.class; classesOfParameters[2] = int.class; assertThat(TypeRenderUtils.drawParameters(String.class.getConstructor(classesOfParameters)), is(equalTo("[]\nint\nint"))); assertThat(TypeRenderUtils.drawParameters(String.class.getConstructor()), is(equalTo(""))); }
public static String drawParameters(Method method) { return StringUtils.concat("\n", method.getParameterTypes()); }
TypeRenderUtils { public static String drawParameters(Method method) { return StringUtils.concat("\n", method.getParameterTypes()); } }
TypeRenderUtils { public static String drawParameters(Method method) { return StringUtils.concat("\n", method.getParameterTypes()); }  }
TypeRenderUtils { public static String drawParameters(Method method) { return StringUtils.concat("\n", method.getParameterTypes()); }  static String drawInterface(Class<?> clazz); static String drawParameters(Method method); static String drawParameters(Constructor constructor); static String drawParameters(String[] parameterTypes); static String drawReturn(Method method); static String drawExceptions(Method method); static String drawExceptions(Constructor constructor); static String drawExceptions(String[] exceptionTypes); static Element drawSuperClass(ClassDetailVO clazz); static Element drawClassLoader(ClassVO clazz); static Element drawTree(String[] nodes); static Element drawField(ClassDetailVO clazz, Integer expand); static String drawAnnotation(String... annotations); static String[] getAnnotations(Class<?> clazz); static String[] getAnnotations(Annotation[] annotations); static String[] getInterfaces(Class clazz); static String[] getSuperClass(Class clazz); static String[] getClassloader(Class clazz); static FieldVO[] getFields(Class clazz); }
TypeRenderUtils { public static String drawParameters(Method method) { return StringUtils.concat("\n", method.getParameterTypes()); }  static String drawInterface(Class<?> clazz); static String drawParameters(Method method); static String drawParameters(Constructor constructor); static String drawParameters(String[] parameterTypes); static String drawReturn(Method method); static String drawExceptions(Method method); static String drawExceptions(Constructor constructor); static String drawExceptions(String[] exceptionTypes); static Element drawSuperClass(ClassDetailVO clazz); static Element drawClassLoader(ClassVO clazz); static Element drawTree(String[] nodes); static Element drawField(ClassDetailVO clazz, Integer expand); static String drawAnnotation(String... annotations); static String[] getAnnotations(Class<?> clazz); static String[] getAnnotations(Annotation[] annotations); static String[] getInterfaces(Class clazz); static String[] getSuperClass(Class clazz); static String[] getClassloader(Class clazz); static FieldVO[] getFields(Class clazz);  }