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