Beispiel #1
0
 @Override
 public AnnotationMirror getAnnotation(String type) {
   if (annotations == null) {
     annotations = JavacUtil.getAnnotations(methodSymbol);
   }
   return annotations.get(type);
 }
Beispiel #2
0
 @Override
 public List<TypeParameterMirror> getTypeParameters() {
   if (typeParams == null) {
     typeParams = Collections.unmodifiableList(JavacUtil.getTypeParameters(methodSymbol));
   }
   return typeParams;
 }