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