onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1435844 - /incubator/onami/trunk/test/src/main/java/org/apache/onami/test/reflection/ClassVisitor.java
Date Sun, 20 Jan 2013 14:05:20 GMT
Author: simonetripodi
Date: Sun Jan 20 14:05:20 2013
New Revision: 1435844

URL: http://svn.apache.org/viewvc?rev=1435844&view=rev
Log:
fixed "Missing a Javadoc comment." checkstyle rule

Modified:
    incubator/onami/trunk/test/src/main/java/org/apache/onami/test/reflection/ClassVisitor.java

Modified: incubator/onami/trunk/test/src/main/java/org/apache/onami/test/reflection/ClassVisitor.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/test/src/main/java/org/apache/onami/test/reflection/ClassVisitor.java?rev=1435844&r1=1435843&r2=1435844&view=diff
==============================================================================
--- incubator/onami/trunk/test/src/main/java/org/apache/onami/test/reflection/ClassVisitor.java
(original)
+++ incubator/onami/trunk/test/src/main/java/org/apache/onami/test/reflection/ClassVisitor.java
Sun Jan 20 14:05:20 2013
@@ -47,6 +47,14 @@ public final class ClassVisitor
     private final Multimap<Class<? extends Annotation>, AnnotationHandler<? extends
Annotation, ? extends AnnotatedElement>> handlers =
         ArrayListMultimap.create();
 
+    /**
+     * Registers an annotation handler.
+     *
+     * @param <A> whatever annotation type
+     * @param annotationType the annotation class to handle
+     * @param handler the related annotation handler
+     * @return the current {@code ClassVisitor} instance
+     */
     public <A extends Annotation> ClassVisitor registerHandler( Class<A> annotationType,
                                                                 AnnotationHandler<A, ?
extends AnnotatedElement> handler )
     {
@@ -54,6 +62,13 @@ public final class ClassVisitor
         return this;
     }
 
+    /**
+     * Visits all fields, methods and super classes of the input class.
+     *
+     * @param <T> any type
+     * @param type
+     * @throws HandleException
+     */
     public <T> void visit( final Class<? super T> type )
         throws HandleException
     {



Mime
View raw message