commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1135551 - /commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandler.java
Date Tue, 14 Jun 2011 13:10:59 GMT
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 );
 
 }



Mime
View raw message