equal
deleted
inserted
replaced
26 import javax.annotation.processing.*; |
26 import javax.annotation.processing.*; |
27 import javax.lang.model.*; |
27 import javax.lang.model.*; |
28 import javax.lang.model.element.*; |
28 import javax.lang.model.element.*; |
29 |
29 |
30 @SupportedAnnotationTypes("*") |
30 @SupportedAnnotationTypes("*") |
31 @SupportedSourceVersion(SourceVersion.RELEASE_6) |
31 @SupportedSourceVersion(SourceVersion.RELEASE_7) |
32 public class A extends AbstractProcessor { |
32 public class A extends AbstractProcessor { |
33 public boolean process(Set<? extends TypeElement> tes, RoundEnvironment renv) { |
33 public boolean process(Set<? extends TypeElement> tes, RoundEnvironment renv) { |
34 Filer filer = processingEnv.getFiler(); |
34 Filer filer = processingEnv.getFiler(); |
35 try { |
35 try { |
36 OutputStream out = filer.createClassFile(getClass().getName()+"_0").openOutputStream(); |
36 OutputStream out = filer.createClassFile(getClass().getName()+"_0").openOutputStream(); |