fr.paris.lutece.util.annotation
Class AnnotationUtil

java.lang.Object
  extended by fr.paris.lutece.util.annotation.AnnotationUtil

public final class AnnotationUtil
extends java.lang.Object

Allow classpath scanning for annotations


Method Summary
static java.util.Set<java.lang.String> find(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
          Finds all classes with the given annotation
static java.util.Set<java.lang.String> find(java.lang.String strAnnotation)
          Finds all classes with the given annotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2012 Mairie de Paris. All Rights Reserved.