src/share/classes/com/sun/tools/javac/code/Symbol.java

changeset 483
8e638442522a
parent 428
2485f5641ed0
child 509
b030706da5b4
equal deleted inserted replaced
482:699ecefbdd4e 483:8e638442522a
655 return flags_field; 655 return flags_field;
656 } 656 }
657 657
658 public List<Attribute.Compound> getAnnotationMirrors() { 658 public List<Attribute.Compound> getAnnotationMirrors() {
659 if (completer != null) complete(); 659 if (completer != null) complete();
660 if (package_info != null && package_info.completer != null) {
661 package_info.complete();
662 if (attributes_field.isEmpty())
663 attributes_field = package_info.attributes_field;
664 }
660 assert attributes_field != null; 665 assert attributes_field != null;
661 return attributes_field; 666 return attributes_field;
662 } 667 }
663 668
664 /** A package "exists" if a type or package that exists has 669 /** A package "exists" if a type or package that exists has

mercurial