commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1135583 - /commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotatedHandlerBuilder.java
Date Tue, 14 Jun 2011 14:04:21 GMT
Author: simonetripodi
Date: Tue Jun 14 14:04:21 2011
New Revision: 1135583

URL: http://svn.apache.org/viewvc?rev=1135583&view=rev
Log:
filled missing javadoc

Modified:
    commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotatedHandlerBuilder.java

Modified: commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotatedHandlerBuilder.java
URL: http://svn.apache.org/viewvc/commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotatedHandlerBuilder.java?rev=1135583&r1=1135582&r2=1135583&view=diff
==============================================================================
--- commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotatedHandlerBuilder.java
(original)
+++ commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotatedHandlerBuilder.java
Tue Jun 14 14:04:21 2011
@@ -23,11 +23,22 @@ import java.lang.annotation.Annotation;
 import java.lang.reflect.AnnotatedElement;
 
 /**
- * FILL ME.
+ * Builder that allows users configuring an {@code AnnotationHandler} that catches {@code
AnnotatedElement}
+ * annotated with a custom {@link Annotation} type.
+ *
+ * @param <E> any {@link AnnotatedElement} subclass.
  */
 public interface AnnotatedHandlerBuilder<E extends AnnotatedElement>
 {
 
+    /**
+     * Allows users configuring an {@code AnnotationHandler} that catches {@code AnnotatedElement}
+     * annotated with the given {@link Annotation} type.
+     *
+     * @param <A> Any {@link Annotation} subclass
+     * @param annotationType the {@link Annotation} type has to be intercepted.
+     * @return A new builder to link an {@code AnnotationHandler} that has to catch the input
{@link Annotation} type.
+     */
     <A extends Annotation> LinkedHandlingBuilder<E, A> annotatedWith( Class<A>
annotationType );
 
 }



Mime
View raw message