src/share/classes/com/sun/tools/javac/comp/Attr.java

changeset 2133
19e8eebfbe52
parent 2111
87b5bfef7edb
child 2134
b0c086cd4520
     1.1 --- a/src/share/classes/com/sun/tools/javac/comp/Attr.java	Tue Oct 15 21:12:33 2013 +0100
     1.2 +++ b/src/share/classes/com/sun/tools/javac/comp/Attr.java	Tue Oct 15 22:15:35 2013 +0200
     1.3 @@ -4085,13 +4085,13 @@
     1.4      public void annotateType(final AnnotatedType type, final List<JCAnnotation> annotations) {
     1.5          if (annotations.isEmpty())
     1.6              return;
     1.7 -        annotate.typeAnnotation(new Annotate.Annotator() {
     1.8 +        annotate.typeAnnotation(new Annotate.Worker() {
     1.9              @Override
    1.10              public String toString() {
    1.11                  return "annotate " + annotations + " onto " + type;
    1.12              }
    1.13              @Override
    1.14 -            public void enterAnnotation() {
    1.15 +            public void run() {
    1.16                  List<Attribute.TypeCompound> compounds = fromAnnotations(annotations);
    1.17                  type.typeAnnotations = compounds;
    1.18              }

mercurial