test/langtools/tools/javac/lib/JavacTestingAbstractProcessor.java
changeset 48343 d4329843abf4
parent 48209 5fb7750f22cd
child 50892 a5557f24b4d4
equal deleted inserted replaced
48342:003d6365ec6a 48343:d4329843abf4
   108     /*
   108     /*
   109      * The set of visitors below will directly extend the most recent
   109      * The set of visitors below will directly extend the most recent
   110      * corresponding platform visitor type.
   110      * corresponding platform visitor type.
   111      */
   111      */
   112 
   112 
   113     @SupportedSourceVersion(RELEASE_10)
   113     @SupportedSourceVersion(RELEASE_11)
   114     public static abstract class AbstractAnnotationValueVisitor<R, P> extends AbstractAnnotationValueVisitor9<R, P> {
   114     public static abstract class AbstractAnnotationValueVisitor<R, P> extends AbstractAnnotationValueVisitor9<R, P> {
   115 
   115 
   116         /**
   116         /**
   117          * Constructor for concrete subclasses to call.
   117          * Constructor for concrete subclasses to call.
   118          */
   118          */
   119         protected AbstractAnnotationValueVisitor() {
   119         protected AbstractAnnotationValueVisitor() {
   120             super();
   120             super();
   121         }
   121         }
   122     }
   122     }
   123 
   123 
   124     @SupportedSourceVersion(RELEASE_10)
   124     @SupportedSourceVersion(RELEASE_11)
   125     public static abstract class AbstractElementVisitor<R, P> extends AbstractElementVisitor9<R, P> {
   125     public static abstract class AbstractElementVisitor<R, P> extends AbstractElementVisitor9<R, P> {
   126         /**
   126         /**
   127          * Constructor for concrete subclasses to call.
   127          * Constructor for concrete subclasses to call.
   128          */
   128          */
   129         protected AbstractElementVisitor(){
   129         protected AbstractElementVisitor(){
   130             super();
   130             super();
   131         }
   131         }
   132     }
   132     }
   133 
   133 
   134     @SupportedSourceVersion(RELEASE_10)
   134     @SupportedSourceVersion(RELEASE_11)
   135     public static abstract class AbstractTypeVisitor<R, P> extends AbstractTypeVisitor9<R, P> {
   135     public static abstract class AbstractTypeVisitor<R, P> extends AbstractTypeVisitor9<R, P> {
   136         /**
   136         /**
   137          * Constructor for concrete subclasses to call.
   137          * Constructor for concrete subclasses to call.
   138          */
   138          */
   139         protected AbstractTypeVisitor() {
   139         protected AbstractTypeVisitor() {
   140             super();
   140             super();
   141         }
   141         }
   142     }
   142     }
   143 
   143 
   144     @SupportedSourceVersion(RELEASE_10)
   144     @SupportedSourceVersion(RELEASE_11)
   145     public static class ElementKindVisitor<R, P> extends ElementKindVisitor9<R, P> {
   145     public static class ElementKindVisitor<R, P> extends ElementKindVisitor9<R, P> {
   146         /**
   146         /**
   147          * Constructor for concrete subclasses; uses {@code null} for the
   147          * Constructor for concrete subclasses; uses {@code null} for the
   148          * default value.
   148          * default value.
   149          */
   149          */
   160         protected ElementKindVisitor(R defaultValue) {
   160         protected ElementKindVisitor(R defaultValue) {
   161             super(defaultValue);
   161             super(defaultValue);
   162         }
   162         }
   163     }
   163     }
   164 
   164 
   165     @SupportedSourceVersion(RELEASE_10)
   165     @SupportedSourceVersion(RELEASE_11)
   166     public static class ElementScanner<R, P> extends ElementScanner9<R, P> {
   166     public static class ElementScanner<R, P> extends ElementScanner9<R, P> {
   167         /**
   167         /**
   168          * Constructor for concrete subclasses; uses {@code null} for the
   168          * Constructor for concrete subclasses; uses {@code null} for the
   169          * default value.
   169          * default value.
   170          */
   170          */
   179         protected ElementScanner(R defaultValue){
   179         protected ElementScanner(R defaultValue){
   180             super(defaultValue);
   180             super(defaultValue);
   181         }
   181         }
   182     }
   182     }
   183 
   183 
   184     @SupportedSourceVersion(RELEASE_10)
   184     @SupportedSourceVersion(RELEASE_11)
   185     public static class SimpleAnnotationValueVisitor<R, P> extends SimpleAnnotationValueVisitor9<R, P> {
   185     public static class SimpleAnnotationValueVisitor<R, P> extends SimpleAnnotationValueVisitor9<R, P> {
   186         /**
   186         /**
   187          * Constructor for concrete subclasses; uses {@code null} for the
   187          * Constructor for concrete subclasses; uses {@code null} for the
   188          * default value.
   188          * default value.
   189          */
   189          */
   200         protected SimpleAnnotationValueVisitor(R defaultValue) {
   200         protected SimpleAnnotationValueVisitor(R defaultValue) {
   201             super(defaultValue);
   201             super(defaultValue);
   202         }
   202         }
   203     }
   203     }
   204 
   204 
   205     @SupportedSourceVersion(RELEASE_10)
   205     @SupportedSourceVersion(RELEASE_11)
   206     public static class SimpleElementVisitor<R, P> extends SimpleElementVisitor9<R, P> {
   206     public static class SimpleElementVisitor<R, P> extends SimpleElementVisitor9<R, P> {
   207         /**
   207         /**
   208          * Constructor for concrete subclasses; uses {@code null} for the
   208          * Constructor for concrete subclasses; uses {@code null} for the
   209          * default value.
   209          * default value.
   210          */
   210          */
   221         protected SimpleElementVisitor(R defaultValue){
   221         protected SimpleElementVisitor(R defaultValue){
   222             super(defaultValue);
   222             super(defaultValue);
   223         }
   223         }
   224     }
   224     }
   225 
   225 
   226     @SupportedSourceVersion(RELEASE_10)
   226     @SupportedSourceVersion(RELEASE_11)
   227     public static class SimpleTypeVisitor<R, P> extends SimpleTypeVisitor9<R, P> {
   227     public static class SimpleTypeVisitor<R, P> extends SimpleTypeVisitor9<R, P> {
   228         /**
   228         /**
   229          * Constructor for concrete subclasses; uses {@code null} for the
   229          * Constructor for concrete subclasses; uses {@code null} for the
   230          * default value.
   230          * default value.
   231          */
   231          */
   242         protected SimpleTypeVisitor(R defaultValue){
   242         protected SimpleTypeVisitor(R defaultValue){
   243             super(defaultValue);
   243             super(defaultValue);
   244         }
   244         }
   245     }
   245     }
   246 
   246 
   247     @SupportedSourceVersion(RELEASE_10)
   247     @SupportedSourceVersion(RELEASE_11)
   248     public static class TypeKindVisitor<R, P> extends TypeKindVisitor9<R, P> {
   248     public static class TypeKindVisitor<R, P> extends TypeKindVisitor9<R, P> {
   249         /**
   249         /**
   250          * Constructor for concrete subclasses to call; uses {@code null}
   250          * Constructor for concrete subclasses to call; uses {@code null}
   251          * for the default value.
   251          * for the default value.
   252          */
   252          */