commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1210587 - in /commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor: AnnotationHandlerBinder.java AnnotationHandlerBinderImpl.java
Date Mon, 05 Dec 2011 19:30:08 GMT
Author: simonetripodi
Date: Mon Dec  5 19:30:07 2011
New Revision: 1210587

URL: http://svn.apache.org/viewvc?rev=1210587&view=rev
Log:
added handler methods to analyze a Package

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

Modified: commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandlerBinder.java
URL: http://svn.apache.org/viewvc/commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandlerBinder.java?rev=1210587&r1=1210586&r2=1210587&view=diff
==============================================================================
--- commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandlerBinder.java
(original)
+++ commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandlerBinder.java
Mon Dec  5 19:30:07 2011
@@ -30,6 +30,13 @@ public interface AnnotationHandlerBinder
 {
 
     /**
+     * Configure a new scanning rule for {@code Package}.
+     *
+     * @return a new builder to associate an annotation handler to the given annotated element.
+     */
+    AnnotatedHandlerBuilder<Package> handlePackage();
+
+    /**
      * Configure a new scanning rule for {@code Class}.
      *
      * @return a new builder to associate an annotation handler to the given annotated element.

Modified: commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandlerBinderImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandlerBinderImpl.java?rev=1210587&r1=1210586&r2=1210587&view=diff
==============================================================================
--- commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandlerBinderImpl.java
(original)
+++ commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classvisitor/AnnotationHandlerBinderImpl.java
Mon Dec  5 19:30:07 2011
@@ -43,6 +43,14 @@ final class AnnotationHandlerBinderImpl
     /**
      * {@inheritDoc}
      */
+    public AnnotatedHandlerBuilder<Package> handlePackage()
+    {
+        return handleElement( Package.class );
+    }
+
+    /**
+     * {@inheritDoc}
+     */
     public AnnotatedHandlerBuilder<Class> handleType()
     {
         return handleElement( Class.class );



Mime
View raw message