Package org.int4.dirk.util
Class Methods
- java.lang.Object
-
- org.int4.dirk.util.Methods
-
public class Methods extends java.lang.ObjectSupport functions forMethods.
-
-
Constructor Summary
Constructors Constructor Description Methods()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.reflect.Method>findAnnotated(java.lang.Class<?> cls, java.lang.Class<? extends java.lang.annotation.Annotation> annotation)Find all methods with the given annotation.
-
-
-
Method Detail
-
findAnnotated
public static java.util.List<java.lang.reflect.Method> findAnnotated(java.lang.Class<?> cls, java.lang.Class<? extends java.lang.annotation.Annotation> annotation)Find all methods with the given annotation.- Parameters:
cls- aClassto search, cannot benullannotation- an annotationClass, cannot benull- Returns:
- a list of
Methods, nevernullor containsnull, but can be empty
-
-