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

changeset 1918
a218f7befd55
parent 1853
831467c4c6a7
child 1945
f7f271bd74a2
equal deleted inserted replaced
1917:2fbe77c38802 1918:a218f7befd55
594 return JavacAnnoConstructs.getAnnotation(this, annoType); 594 return JavacAnnoConstructs.getAnnotation(this, annoType);
595 } 595 }
596 596
597 // This method is part of the javax.lang.model API, do not use this in javac code. 597 // This method is part of the javax.lang.model API, do not use this in javac code.
598 public <A extends java.lang.annotation.Annotation> A[] getAnnotationsByType(Class<A> annoType) { 598 public <A extends java.lang.annotation.Annotation> A[] getAnnotationsByType(Class<A> annoType) {
599 return JavacAnnoConstructs.getAnnotations(this, annoType); 599 return JavacAnnoConstructs.getAnnotationsByType(this, annoType);
600 } 600 }
601 601
602 // TODO: getEnclosedElements should return a javac List, fix in FilteredMemberList 602 // TODO: getEnclosedElements should return a javac List, fix in FilteredMemberList
603 public java.util.List<Symbol> getEnclosedElements() { 603 public java.util.List<Symbol> getEnclosedElements() {
604 return List.nil(); 604 return List.nil();

mercurial