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