You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/06/14 15:10:59 UTC
svn commit: r1135551 -
/commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandler.java
Author: simonetripodi
Date: Tue Jun 14 13:10:59 2011
New Revision: 1135551
URL: http://svn.apache.org/viewvc?rev=1135551&view=rev
Log:
added missing javadoc
Modified:
commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandler.java
Modified: commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandler.java
URL: http://svn.apache.org/viewvc/commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandler.java?rev=1135551&r1=1135550&r2=1135551&view=diff
==============================================================================
--- commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandler.java (original)
+++ commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandler.java Tue Jun 14 13:10:59 2011
@@ -23,11 +23,19 @@ import java.lang.annotation.Annotation;
import java.lang.reflect.AnnotatedElement;
/**
- * FILL ME.
+ * An annotation handler catches an annotated element with the related annotation while
+ * a Class is scanned.
*/
public interface AnnotationHandler<E extends AnnotatedElement, A extends Annotation>
{
+ /**
+ * Catches an annotated element with the related annotation while
+ * a Class is scanned.
+ *
+ * @param annnotatedElement the annotated element caught during the scanning.
+ * @param annotation the annotation that annotates the given annotated element.
+ */
void handle( E annnotatedElement, A annotation );
}