Class JavaParserVisitorReducedAdapter
- java.lang.Object
-
- net.sourceforge.pmd.lang.java.ast.JavaParserVisitorAdapter
-
- net.sourceforge.pmd.lang.java.ast.JavaParserVisitorReducedAdapter
-
- All Implemented Interfaces:
JavaParserVisitor
- Direct Known Subclasses:
MultifileVisitor
,NpathBaseVisitor
,QualifiedNameResolver
,TccAttributeAccessCollector
public class JavaParserVisitorReducedAdapter extends JavaParserVisitorAdapter
Visitor adapter with convenient visit methods to e.g. treat contructors and methods the same.- Author:
- Clément Fournier
-
-
Constructor Summary
Constructors Constructor Description JavaParserVisitorReducedAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
visit(ASTAnnotationTypeDeclaration node, java.lang.Object data)
java.lang.Object
visit(ASTAnyTypeDeclaration node, java.lang.Object data)
java.lang.Object
visit(ASTClassOrInterfaceDeclaration node, java.lang.Object data)
java.lang.Object
visit(ASTConstructorDeclaration node, java.lang.Object data)
java.lang.Object
visit(ASTEnumDeclaration node, java.lang.Object data)
java.lang.Object
visit(ASTLambdaExpression node, java.lang.Object data)
java.lang.Object
visit(ASTMethodDeclaration node, java.lang.Object data)
java.lang.Object
visit(ASTMethodOrConstructorDeclaration node, java.lang.Object data)
java.lang.Object
visit(MethodLikeNode node, java.lang.Object data)
-
Methods inherited from class net.sourceforge.pmd.lang.java.ast.JavaParserVisitorAdapter
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, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
-
-
-
Method Detail
-
visit
public java.lang.Object visit(ASTClassOrInterfaceDeclaration node, java.lang.Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
- Overrides:
visit
in classJavaParserVisitorAdapter
-
visit
public java.lang.Object visit(ASTAnnotationTypeDeclaration node, java.lang.Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
- Overrides:
visit
in classJavaParserVisitorAdapter
-
visit
public java.lang.Object visit(ASTEnumDeclaration node, java.lang.Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
- Overrides:
visit
in classJavaParserVisitorAdapter
-
visit
public java.lang.Object visit(ASTAnyTypeDeclaration node, java.lang.Object data)
-
visit
public java.lang.Object visit(ASTMethodDeclaration node, java.lang.Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
- Overrides:
visit
in classJavaParserVisitorAdapter
-
visit
public java.lang.Object visit(ASTConstructorDeclaration node, java.lang.Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
- Overrides:
visit
in classJavaParserVisitorAdapter
-
visit
public java.lang.Object visit(ASTMethodOrConstructorDeclaration node, java.lang.Object data)
-
visit
public java.lang.Object visit(ASTLambdaExpression node, java.lang.Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
- Overrides:
visit
in classJavaParserVisitorAdapter
-
visit
public java.lang.Object visit(MethodLikeNode node, java.lang.Object data)
-
-