Browse Source

Add some note messages in ExtensionAnnotationProcessor

pull/95/head
Decebal Suiu 9 years ago
parent
commit
d4be2b1a50
  1. 2
      pf4j/src/main/java/ro/fortsoft/pf4j/processor/ExtensionAnnotationProcessor.java

2
pf4j/src/main/java/ro/fortsoft/pf4j/processor/ExtensionAnnotationProcessor.java

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

Loading…
Cancel
Save