]> source.dussan.org Git - pf4j.git/commitdiff
Add some note messages in ExtensionAnnotationProcessor
authorDecebal Suiu <decebal.suiu@gmail.com>
Sat, 20 Feb 2016 02:24:30 +0000 (04:24 +0200)
committerDecebal Suiu <decebal.suiu@gmail.com>
Sat, 20 Feb 2016 02:24:30 +0000 (04:24 +0200)
pf4j/src/main/java/ro/fortsoft/pf4j/processor/ExtensionAnnotationProcessor.java

index d7dcc43996b40bd19f3c6ca598475a2e4721ed30..f9d8ed1fbc0f6ac9ca5073b196cb18ff2600bfe4 100644 (file)
@@ -53,6 +53,7 @@ public class ExtensionAnnotationProcessor extends AbstractProcessor {
     public synchronized void init(ProcessingEnvironment processingEnv) {
         super.init(processingEnv);
 
+        note("{}.init()", ExtensionAnnotationProcessor.class);
         storage = createStorage();
     }
 
@@ -83,6 +84,7 @@ public class ExtensionAnnotationProcessor extends AbstractProcessor {
             return false;
         }
 
+        note("Processing @{}", Extension.class);
                for (Element element : roundEnv.getElementsAnnotatedWith(Extension.class)) {
             // check if @Extension is put on class and not on method or constructor
             if (!(element instanceof TypeElement)) {