public class ReflectionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Set<Method> |
findMethod(Class clazz,
Class<? extends Annotation> annotationType)
|
public static final Set<Method> findMethod(Class clazz, Class<? extends Annotation> annotationType)
clazz
- The class to search for a method with the given annotation typeannotationType
- The type of annotation to look forMethod
instances if any are found, an empty set if not.Copyright © 2017 Pivotal. All rights reserved.