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(); |