continue; scanner.scan(e, null);
@Override public final R scan(Element x, State state) { try { return super.scan(x, state); } catch (HaltException e) { throw e; } catch (Throwable e) { StringWriter sw = new StringWriter(); e.printStackTrace(new PrintWriter(sw)); state.poison(x, sw.toString()); throw new HaltException(); } }
/** * Convenience method equivalent to {@code v.scan(e, null)}. * @return the result of scanning {@code e}. */ public final R scan(Element e) { return scan(e, null); }
/** * Convenience method equivalent to {@code v.scan(e, null)}. * * @param e the element to scan * @return the result of scanning {@code e}. */ public final R scan(Element e) { return scan(e, null); }
/** * {@inheritDoc} This implementation scans the parameters. * * @param e the element to visit * @param p a visitor-specified parameter * @return the result of scanning */ public R visitExecutable(ExecutableElement e, P p) { return scan(e.getParameters(), p); }
/** * {@inheritDoc} This implementation scans the parameters. * * @param e {@inheritDoc} * @param p {@inheritDoc} * @return the result of scanning */ public R visitExecutable(ExecutableElement e, P p) { return scan(e.getParameters(), p); }
/** * {@inheritDoc} This implementation scans the enclosed elements. * * @param e the element to visit * @param p a visitor-specified parameter * @return the result of scanning */ public R visitType(TypeElement e, P p) { return scan(e.getEnclosedElements(), p); }
/** * {@inheritDoc} This implementation scans the enclosed elements. * * @param e {@inheritDoc} * @param p {@inheritDoc} * @return the result of scanning */ public R visitType(TypeElement e, P p) { return scan(e.getEnclosedElements(), p); }
/** * {@inheritDoc} This implementation scans the parameters. * * @param e {@inheritDoc} * @param p {@inheritDoc} * @return the result of scanning */ public R visitExecutable(ExecutableElement e, P p) { return scan(e.getParameters(), p); }
/** * {@inheritDoc} This implementation scans the enclosed elements. * * @param e the element to visit * @param p a visitor-specified parameter * @return the result of scanning */ public R visitType(TypeElement e, P p) { return scan(e.getEnclosedElements(), p); }
/** * {@inheritDoc} This implementation scans the parameters. * * @param e the element to visit * @param p a visitor-specified parameter * @return the result of scanning */ public R visitExecutable(ExecutableElement e, P p) { return scan(e.getParameters(), p); }
/** * {@inheritDoc} This implementation scans the enclosed elements. * * @param e {@inheritDoc} * @param p {@inheritDoc} * @return the result of scanning */ public R visitType(TypeElement e, P p) { return scan(e.getEnclosedElements(), p); }
@Override public Set<TypeElement> scan(Element e, Set<TypeElement> p) { for (AnnotationMirror annotationMirror : elements.getAllAnnotationMirrors(e) ) { Element e2 = annotationMirror.getAnnotationType().asElement(); p.add((TypeElement) e2); } return super.scan(e, p); } }
@Override public Set<TypeElement> scan(Element e, Set<TypeElement> p) { for (AnnotationMirror annotationMirror : elements.getAllAnnotationMirrors(e) ) { Element e2 = annotationMirror.getAnnotationType().asElement(); p.add((TypeElement) e2); } return super.scan(e, p); } }
/** * {@inheritDoc} This implementation scans the enclosed elements. * * @param e the element to visit * @param p a visitor-specified parameter * @return the result of scanning */ public R visitTypeParameter(TypeParameterElement e, P p) { return scan(e.getEnclosedElements(), p); } }
/** * {@inheritDoc} This implementation scans the enclosed elements. * * @param e the element to visit * @param p a visitor-specified parameter * @return the result of scanning */ public R visitPackage(PackageElement e, P p) { return scan(e.getEnclosedElements(), p); }
/** * {@inheritDoc} This implementation scans the enclosed elements. * * @param e {@inheritDoc} * @param p {@inheritDoc} * @return the result of scanning */ public R visitTypeParameter(TypeParameterElement e, P p) { return scan(e.getEnclosedElements(), p); } }
/** * {@inheritDoc} This implementation scans the enclosed elements. * * @param e the element to visit * @param p a visitor-specified parameter * @return the result of scanning */ public R visitVariable(VariableElement e, P p) { return scan(e.getEnclosedElements(), p); }
/** * {@inheritDoc} This implementation scans the enclosed elements. * * @param e {@inheritDoc} * @param p {@inheritDoc} * @return the result of scanning */ public R visitPackage(PackageElement e, P p) { return scan(e.getEnclosedElements(), p); }
/** * {@inheritDoc} This implementation scans the enclosed elements. * * @param e {@inheritDoc} * @param p {@inheritDoc} * @return the result of scanning */ public R visitPackage(PackageElement e, P p) { return scan(e.getEnclosedElements(), p); }