|
|
|
@ -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)) { |
|
|
|
|