Package fr.paris.lutece.util.annotation
Class AnnotationUtil
- java.lang.Object
-
- fr.paris.lutece.util.annotation.AnnotationUtil
-
public final class AnnotationUtil extends java.lang.ObjectAllow classpath scanning for annotations
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<java.lang.String>find(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)Finds all classes with the given annotationstatic java.util.Set<java.lang.String>find(java.lang.String strAnnotation)Finds all classes with the given annotation
-
-
-
Method Detail
-
find
public static java.util.Set<java.lang.String> find(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Finds all classes with the given annotation- Parameters:
annotationType- the annotation class- Returns:
- all classes founds
-
find
public static java.util.Set<java.lang.String> find(java.lang.String strAnnotation)
Finds all classes with the given annotation- Parameters:
strAnnotation- the annotation class name- Returns:
- all classes founds
-
-