src/share/classes/com/sun/tools/javac/jvm/ClassReader.java

changeset 2133
19e8eebfbe52
parent 2099
1b469fd31e35
child 2136
7f6481e5fe3a
     1.1 --- a/src/share/classes/com/sun/tools/javac/jvm/ClassReader.java	Tue Oct 15 21:12:33 2013 +0100
     1.2 +++ b/src/share/classes/com/sun/tools/javac/jvm/ClassReader.java	Tue Oct 15 22:15:35 2013 +0200
     1.3 @@ -1877,7 +1877,7 @@
     1.4          }
     1.5      }
     1.6  
     1.7 -    class AnnotationDefaultCompleter extends AnnotationDeproxy implements Annotate.Annotator {
     1.8 +    class AnnotationDefaultCompleter extends AnnotationDeproxy implements Annotate.Worker {
     1.9          final MethodSymbol sym;
    1.10          final Attribute value;
    1.11          final JavaFileObject classFile = currentClassFile;
    1.12 @@ -1889,8 +1889,8 @@
    1.13              this.sym = sym;
    1.14              this.value = value;
    1.15          }
    1.16 -        // implement Annotate.Annotator.enterAnnotation()
    1.17 -        public void enterAnnotation() {
    1.18 +        // implement Annotate.Worker.run()
    1.19 +        public void run() {
    1.20              JavaFileObject previousClassFile = currentClassFile;
    1.21              try {
    1.22                  // Reset the interim value set earlier in
    1.23 @@ -1904,7 +1904,7 @@
    1.24          }
    1.25      }
    1.26  
    1.27 -    class AnnotationCompleter extends AnnotationDeproxy implements Annotate.Annotator {
    1.28 +    class AnnotationCompleter extends AnnotationDeproxy implements Annotate.Worker {
    1.29          final Symbol sym;
    1.30          final List<CompoundAnnotationProxy> l;
    1.31          final JavaFileObject classFile;
    1.32 @@ -1917,8 +1917,8 @@
    1.33              this.l = l;
    1.34              this.classFile = currentClassFile;
    1.35          }
    1.36 -        // implement Annotate.Annotator.enterAnnotation()
    1.37 -        public void enterAnnotation() {
    1.38 +        // implement Annotate.Worker.run()
    1.39 +        public void run() {
    1.40              JavaFileObject previousClassFile = currentClassFile;
    1.41              try {
    1.42                  currentClassFile = classFile;
    1.43 @@ -1955,7 +1955,7 @@
    1.44          }
    1.45  
    1.46          @Override
    1.47 -        public void enterAnnotation() {
    1.48 +        public void run() {
    1.49              JavaFileObject previousClassFile = currentClassFile;
    1.50              try {
    1.51                  currentClassFile = classFile;

mercurial