commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1210589 - /commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AbstractVisitorConfiguration.java
Date Mon, 05 Dec 2011 19:33:44 GMT
Author: simonetripodi
Date: Mon Dec  5 19:33:43 2011
New Revision: 1210589

URL: http://svn.apache.org/viewvc?rev=1210589&view=rev
Log:
added the package handler method in the abstract configuration

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

Modified: commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AbstractVisitorConfiguration.java
URL: http://svn.apache.org/viewvc/commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AbstractVisitorConfiguration.java?rev=1210589&r1=1210588&r2=1210589&view=diff
==============================================================================
--- commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AbstractVisitorConfiguration.java
(original)
+++ commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AbstractVisitorConfiguration.java
Mon Dec  5 19:33:43 2011
@@ -61,6 +61,17 @@ public abstract class AbstractVisitorCon
     protected abstract void configure();
 
     /**
+     * Configure a new scanning rule for {@code Package}.
+     *
+     * @return a new builder to associate an annotation handler to the given annotated element.
+     * @see AnnotationHandlerBinder#handlePackage()
+     */
+    protected final AnnotatedHandlerBuilder<Package> handlePackage()
+    {
+        return wrapped.handlePackage();
+    }
+
+    /**
      * Configure a new scanning rule for {@code Class}.
      *
      * @return a new builder to associate an annotation handler to the given annotated element.



Mime
View raw message