aboutsummaryrefslogtreecommitdiffstats
path: root/tests/apt/test1/SimpleProcessor.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/apt/test1/SimpleProcessor.java')
-rw-r--r--tests/apt/test1/SimpleProcessor.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/apt/test1/SimpleProcessor.java b/tests/apt/test1/SimpleProcessor.java
index 292dcd8d4..29cb0a8ce 100644
--- a/tests/apt/test1/SimpleProcessor.java
+++ b/tests/apt/test1/SimpleProcessor.java
@@ -203,6 +203,9 @@ public final class SimpleProcessor extends AbstractProcessor {
final TypeElement classElement = entry.getKey();
final PackageElement packageElement = (PackageElement) classElement.getEnclosingElement();
try {
+// if (processingEnv.getFiler().getResource(StandardLocation.SOURCE_OUTPUT, packageElement.getQualifiedName(), classElement.getSimpleName()+"EventsAspect.aj")!= null) {
+// continue;
+// }
final FileObject jfo = processingEnv.getFiler().createResource(
StandardLocation.SOURCE_OUTPUT,
packageElement.getQualifiedName(),
@@ -236,7 +239,8 @@ public final class SimpleProcessor extends AbstractProcessor {
bw.newLine();
}
} catch (final Throwable e) {
- processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, e.getMessage());
+
+// processingEnv.getMessager().printMessage(Diagnostic.Kind.WARNING, e.getMessage());
}
}
}