Class JavaParserVisitorAdapter
- java.lang.Object
-
- net.sourceforge.pmd.lang.java.ast.JavaParserVisitorAdapter
-
- All Implemented Interfaces:
JavaParserVisitor
- Direct Known Subclasses:
AtfdBaseVisitor
,ClassTypeResolver
,DataFlowFacade
,DumpFacade
,JavaParserControllessVisitorAdapter
,JavaParserVisitorReducedAdapter
,MultifileVisitorFacade
,OccurrenceFinder
,ScopeAndDeclarationFinder
,StatementAndBraceFinder
,TypeResolutionFacade
,VariableAccessVisitor
public class JavaParserVisitorAdapter extends Object implements JavaParserVisitor
-
-
Constructor Summary
Constructors Constructor Description JavaParserVisitorAdapter()
-
Method Summary
-
-
-
Method Detail
-
visit
public Object visit(JavaNode node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTExtendsList node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTClassOrInterfaceDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTImplementsList node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTTypeParameters node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMemberSelector node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTTypeParameter node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTTypeBound node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTClassOrInterfaceBody node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTClassOrInterfaceBodyDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTEnumBody node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTEnumConstant node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTReferenceType node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTClassOrInterfaceType node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTTypeArguments node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTTypeArgument node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTWildcardBounds node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAnnotation node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTNormalAnnotation node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMarkerAnnotation node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTSingleMemberAnnotation node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMemberValuePairs node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMemberValuePair node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMemberValue node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMemberValueArrayInitializer node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAnnotationTypeDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAnnotationTypeBody node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAnnotationTypeMemberDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAnnotationMethodDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTDefaultValue node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
@Deprecated public Object visit(ASTRUNSIGNEDSHIFT node, Object data)
Deprecated.Will be removed in 7.0.0. UseASTShiftExpression.getOperator()
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
@Deprecated public Object visit(ASTRSIGNEDSHIFT node, Object data)
Deprecated.Will be removed in 7.0.0. UseASTShiftExpression.getOperator()
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTCompilationUnit node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTEnumDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAssertStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPackageDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTImportDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTTypeDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTFieldDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTVariableDeclarator node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTVariableDeclaratorId node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTVariableInitializer node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTArrayInitializer node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMethodDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMethodDeclarator node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTFormalParameters node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTFormalParameter node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTConstructorDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTExplicitConstructorInvocation node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTInitializer node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTType node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPrimitiveType node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTResultType node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTName node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTNameList node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAssignmentOperator node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTConditionalExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTConditionalOrExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTConditionalAndExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTInclusiveOrExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTExclusiveOrExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAndExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTEqualityExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTInstanceOfExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTRelationalExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTShiftExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAdditiveExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMultiplicativeExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTUnaryExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPreIncrementExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPreDecrementExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTUnaryExpressionNotPlusMinus node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPostfixExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTCastExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPrimaryExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPrimaryPrefix node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPrimarySuffix node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTLiteral node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTBooleanLiteral node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTNullLiteral node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTArguments node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTArgumentList node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTAllocationExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTArrayDimsAndInits node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTLabeledStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTBlock node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTBlockStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTLocalVariableDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTEmptyStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTStatementExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTSwitchStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTSwitchLabel node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTIfStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTWhileStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTDoStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTForStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTForInit node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTStatementExpressionList node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTForUpdate node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTBreakStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTContinueStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTReturnStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTThrowStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTSynchronizedStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTTryStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTResourceSpecification node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTResources node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTResource node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTFinallyStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTCatchStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTLambdaExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTMethodReference node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTModuleDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTModuleDirective node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTModuleName node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTSwitchExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTSwitchLabeledBlock node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTSwitchLabeledExpression node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTSwitchLabeledThrowStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTYieldStatement node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTTypePattern node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTRecordDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTRecordComponentList node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTRecordComponent node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTRecordBody node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTCompactConstructorDeclaration node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
public Object visit(ASTPermitsList node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
visit
@Experimental public Object visit(ASTGuardedPattern node, Object data)
- Specified by:
visit
in interfaceJavaParserVisitor
-
-