/** Copies information from an AST type node to an {@link ATypeElement}. */ private Void visitType(Type type, final ATypeElement elem) { List<AnnotationExpr> exprs = type.getAnnotations(); if (exprs != null) { for (AnnotationExpr expr : exprs) { Annotation anno = extractAnnotation(expr); if (anno != null) { elem.tlAnnotationsHere.add(anno); } } } visitInnerTypes(type, elem); return null; }