test/tools/javac/processing/model/type/NoTypes.java

changeset 575
9a7c998bf2fc
parent 554
9d9f26857129
child 699
d2aaaec153e8
     1.1 --- a/test/tools/javac/processing/model/type/NoTypes.java	Fri May 28 12:41:48 2010 -0700
     1.2 +++ b/test/tools/javac/processing/model/type/NoTypes.java	Wed Jun 02 19:08:47 2010 -0700
     1.3 @@ -89,7 +89,7 @@
     1.4          verifyKind(NONE, types.getNoType(NONE));
     1.5  
     1.6          // The return type of a constructor or void method is VOID.
     1.7 -        class Scanner extends ElementScanner6<Void, Void> {
     1.8 +        class Scanner extends ElementScanner7<Void, Void> {
     1.9              @Override
    1.10              public Void visitExecutable(ExecutableElement e, Void p) {
    1.11                  verifyKind(VOID, e.getReturnType());
    1.12 @@ -104,10 +104,10 @@
    1.13  
    1.14      /**
    1.15       * Verify that a NoType instance is of a particular kind,
    1.16 -     * and that TypeKindVisitor6 properly dispatches on it.
    1.17 +     * and that TypeKindVisitor7 properly dispatches on it.
    1.18       */
    1.19      private void verifyKind(TypeKind kind, TypeMirror type) {
    1.20 -        class Vis extends TypeKindVisitor6<TypeKind, Void> {
    1.21 +        class Vis extends TypeKindVisitor7<TypeKind, Void> {
    1.22              @Override
    1.23              public TypeKind visitNoTypeAsVoid(NoType t, Void p) {
    1.24                  return VOID;

mercurial