494:af18e3956985 | 495:fe17a9dbef03 |
---|---|
35 import javax.lang.model.element.*; | 35 import javax.lang.model.element.*; |
36 import com.sun.source.tree.*; | 36 import com.sun.source.tree.*; |
37 import com.sun.source.util.*; | 37 import com.sun.source.util.*; |
38 | 38 |
39 @SupportedAnnotationTypes("*") | 39 @SupportedAnnotationTypes("*") |
40 @SupportedSourceVersion(SourceVersion.RELEASE_6) | |
41 public class T6423583 extends AbstractProcessor { | 40 public class T6423583 extends AbstractProcessor { |
42 boolean b1 = true; | 41 boolean b1 = true; |
43 boolean b2 = false; | 42 boolean b2 = false; |
44 String s = "s"; | 43 String s = "s"; |
45 char c = 'c'; | 44 char c = 'c'; |
57 test.scan(t, null); | 56 test.scan(t, null); |
58 } | 57 } |
59 return true; | 58 return true; |
60 } | 59 } |
61 | 60 |
61 @Override | |
62 public SourceVersion getSupportedSourceVersion() { | |
63 return SourceVersion.latest(); | |
64 } | |
62 | 65 |
63 private static class Test extends TreeScanner<Void,Void> { | 66 private static class Test extends TreeScanner<Void,Void> { |
64 | 67 |
65 private static Map<Tree.Kind, Class> map = new HashMap<Tree.Kind, Class>(); | 68 private static Map<Tree.Kind, Class> map = new HashMap<Tree.Kind, Class>(); |
66 static { | 69 static { |