From 06aeb876eb9728d38f491486ce86a8bb44100473 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 19 Jun 2020 16:08:22 +0200 Subject: [PATCH] Code polish --- src/dorkbox/util/classes/ReflectionUtils.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/dorkbox/util/classes/ReflectionUtils.java b/src/dorkbox/util/classes/ReflectionUtils.java index 9536b54..0fb7b90 100644 --- a/src/dorkbox/util/classes/ReflectionUtils.java +++ b/src/dorkbox/util/classes/ReflectionUtils.java @@ -63,13 +63,14 @@ class ReflectionUtils { /** * Get methods annotated with the specified annotation. * - * @param target - * @param annotationClass - * @param - * @return + * @param target the class that you are looking for the methods on + * @param annotationClass the annotations that define the method you are looking for + * @param the annotation type + * + * @return the array of methods that match the target + annotation */ public static - Method[] getMethods(Class target, Class annotationClass) { + Method[] getMethods(Class target, Class annotationClass) { ArrayList methods = new ArrayList(); getMethods(target, annotationClass, methods);