public class DefaultElementVisitor<R,P> extends Object implements ElementVisitor<R,P>
ElementVisitor to reduce boilerplate code for the users.| Constructor and Description |
|---|
DefaultElementVisitor() |
| Modifier and Type | Method and Description |
|---|---|
R |
visit(Element e) |
R |
visit(Element e,
P p) |
R |
visitExecutable(ExecutableElement e,
P p) |
R |
visitPackage(PackageElement e,
P p) |
R |
visitType(TypeElement e,
P p) |
R |
visitTypeParameter(TypeParameterElement e,
P p) |
R |
visitUnknown(Element e,
P p) |
R |
visitVariable(VariableElement e,
P p) |
public R visitPackage(PackageElement e, P p)
visitPackage in interface ElementVisitor<R,P>public R visitType(TypeElement e, P p)
visitType in interface ElementVisitor<R,P>public R visitVariable(VariableElement e, P p)
visitVariable in interface ElementVisitor<R,P>public R visitExecutable(ExecutableElement e, P p)
visitExecutable in interface ElementVisitor<R,P>public R visitTypeParameter(TypeParameterElement e, P p)
visitTypeParameter in interface ElementVisitor<R,P>public R visitUnknown(Element e, P p)
visitUnknown in interface ElementVisitor<R,P>Copyright © 2016 arconsis IT-Solutions GmbH. All Rights Reserved.