@Test public void testExtractParameterNamesThriftFieldAnnotation() throws Exception { assertEquals(extractParameterNames(getClass().getDeclaredMethod("thriftFieldAnnotation", String.class, String.class, String.class)), new String[]{"a", "b", "c"}); }
public static String[] extractParameterNames(AccessibleObject methodOrConstructor) { String[] names = PARANAMER.lookupParameterNames(methodOrConstructor); return names; }
ReflectionHelper { public static String[] extractParameterNames(AccessibleObject methodOrConstructor) { String[] names = PARANAMER.lookupParameterNames(methodOrConstructor); return names; } }
ReflectionHelper { public static String[] extractParameterNames(AccessibleObject methodOrConstructor) { String[] names = PARANAMER.lookupParameterNames(methodOrConstructor); return names; } private  ReflectionHelper(); }
ReflectionHelper { public static String[] extractParameterNames(AccessibleObject methodOrConstructor) { String[] names = PARANAMER.lookupParameterNames(methodOrConstructor); return names; } private  ReflectionHelper(); static boolean isArray(Type type); static Class<?> getArrayOfType(Type componentType); static Type getMapKeyType(Type type); static Type getMapValueType(Type type); static Type getIterableType(Type type); static Type getFutureReturnType(Type type); static Set<T> getEffectiveClassAnnotations(Class<?> type, Class<T> annotation); static Iterable<Method> getAllDeclaredMethods(Class<?> type); static Iterable<Field> getAllDeclaredFields(Class<?> type); static Collection<Method> findAnnotatedMethods(Class<?> type, Class<? extends Annotation> annotation); @SuppressWarnings("PMD.EmptyCatchBlock") static Method findAnnotatedMethod(Class<?> configClass, Class<? extends Annotation> annotation, String methodName, Class<?>... paramTypes); static Collection<Field> findAnnotatedFields(Class<?> type, Class<? extends Annotation> annotation); static String[] extractParameterNames(AccessibleObject methodOrConstructor); static String extractFieldName(Method method); static String extractFieldName(String methodName); static Type resolveFieldType(Type structType, Type genericType); static Type[] resolveFieldTypes(final Type structType, Type[] genericTypes); }
ReflectionHelper { public static String[] extractParameterNames(AccessibleObject methodOrConstructor) { String[] names = PARANAMER.lookupParameterNames(methodOrConstructor); return names; } private  ReflectionHelper(); static boolean isArray(Type type); static Class<?> getArrayOfType(Type componentType); static Type getMapKeyType(Type type); static Type getMapValueType(Type type); static Type getIterableType(Type type); static Type getFutureReturnType(Type type); static Set<T> getEffectiveClassAnnotations(Class<?> type, Class<T> annotation); static Iterable<Method> getAllDeclaredMethods(Class<?> type); static Iterable<Field> getAllDeclaredFields(Class<?> type); static Collection<Method> findAnnotatedMethods(Class<?> type, Class<? extends Annotation> annotation); @SuppressWarnings("PMD.EmptyCatchBlock") static Method findAnnotatedMethod(Class<?> configClass, Class<? extends Annotation> annotation, String methodName, Class<?>... paramTypes); static Collection<Field> findAnnotatedFields(Class<?> type, Class<? extends Annotation> annotation); static String[] extractParameterNames(AccessibleObject methodOrConstructor); static String extractFieldName(Method method); static String extractFieldName(String methodName); static Type resolveFieldType(Type structType, Type genericType); static Type[] resolveFieldTypes(final Type structType, Type[] genericTypes);  }