public class AnnotationTransferVisitor extends com.github.javaparser.ast.visitor.VoidVisitorAdapter<AnnotatedTypeMirror>
AnnotatedTypeMirror
to the corresponding
JavaParser type, including nested types like array components.
The AnnotatedTypeMirror
is passed as the secondary parameter to the visit methods.
Constructor and Description |
---|
AnnotationTransferVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
visit(com.github.javaparser.ast.type.ArrayType target,
AnnotatedTypeMirror type) |
void |
visit(com.github.javaparser.ast.type.ClassOrInterfaceType target,
AnnotatedTypeMirror type) |
void |
visit(com.github.javaparser.ast.type.PrimitiveType target,
AnnotatedTypeMirror type) |
void |
visit(com.github.javaparser.ast.type.TypeParameter target,
AnnotatedTypeMirror type) |
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
public void visit(com.github.javaparser.ast.type.ArrayType target, AnnotatedTypeMirror type)
visit
in interface com.github.javaparser.ast.visitor.VoidVisitor<AnnotatedTypeMirror>
visit
in class com.github.javaparser.ast.visitor.VoidVisitorAdapter<AnnotatedTypeMirror>
public void visit(com.github.javaparser.ast.type.ClassOrInterfaceType target, AnnotatedTypeMirror type)
visit
in interface com.github.javaparser.ast.visitor.VoidVisitor<AnnotatedTypeMirror>
visit
in class com.github.javaparser.ast.visitor.VoidVisitorAdapter<AnnotatedTypeMirror>
public void visit(com.github.javaparser.ast.type.PrimitiveType target, AnnotatedTypeMirror type)
visit
in interface com.github.javaparser.ast.visitor.VoidVisitor<AnnotatedTypeMirror>
visit
in class com.github.javaparser.ast.visitor.VoidVisitorAdapter<AnnotatedTypeMirror>
public void visit(com.github.javaparser.ast.type.TypeParameter target, AnnotatedTypeMirror type)
visit
in interface com.github.javaparser.ast.visitor.VoidVisitor<AnnotatedTypeMirror>
visit
in class com.github.javaparser.ast.visitor.VoidVisitorAdapter<AnnotatedTypeMirror>