Code polish
This commit is contained in:
parent
c73ba03d63
commit
06aeb876eb
@ -63,10 +63,11 @@ class ReflectionUtils {
|
|||||||
/**
|
/**
|
||||||
* Get methods annotated with the specified annotation.
|
* Get methods annotated with the specified annotation.
|
||||||
*
|
*
|
||||||
* @param target
|
* @param target the class that you are looking for the methods on
|
||||||
* @param annotationClass
|
* @param annotationClass the annotations that define the method you are looking for
|
||||||
* @param <A>
|
* @param <A> the annotation type
|
||||||
* @return
|
*
|
||||||
|
* @return the array of methods that match the target + annotation
|
||||||
*/
|
*/
|
||||||
public static
|
public static
|
||||||
<A extends Annotation> Method[] getMethods(Class<?> target, Class<A> annotationClass) {
|
<A extends Annotation> Method[] getMethods(Class<?> target, Class<A> annotationClass) {
|
||||||
|
Loading…
Reference in New Issue
Block a user