T - The return type of the visit operation. Use Void for
operations with no return type.public interface JavaParserVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
JavaParser.T visitCompilationUnit(JavaParser.CompilationUnitContext ctx)
JavaParser.compilationUnit().ctx - the parse treeT visitPackageDeclaration(JavaParser.PackageDeclarationContext ctx)
JavaParser.packageDeclaration().ctx - the parse treeT visitImportDeclaration(JavaParser.ImportDeclarationContext ctx)
JavaParser.importDeclaration().ctx - the parse treeT visitTypeDeclaration(JavaParser.TypeDeclarationContext ctx)
JavaParser.typeDeclaration().ctx - the parse treeT visitModifier(JavaParser.ModifierContext ctx)
JavaParser.modifier().ctx - the parse treeT visitClassOrInterfaceModifier(JavaParser.ClassOrInterfaceModifierContext ctx)
JavaParser.classOrInterfaceModifier().ctx - the parse treeT visitVariableModifier(JavaParser.VariableModifierContext ctx)
JavaParser.variableModifier().ctx - the parse treeT visitClassDeclaration(JavaParser.ClassDeclarationContext ctx)
JavaParser.classDeclaration().ctx - the parse treeT visitTypeParameters(JavaParser.TypeParametersContext ctx)
JavaParser.typeParameters().ctx - the parse treeT visitTypeParameter(JavaParser.TypeParameterContext ctx)
JavaParser.typeParameter().ctx - the parse treeT visitTypeBound(JavaParser.TypeBoundContext ctx)
JavaParser.typeBound().ctx - the parse treeT visitEnumDeclaration(JavaParser.EnumDeclarationContext ctx)
JavaParser.enumDeclaration().ctx - the parse treeT visitEnumConstants(JavaParser.EnumConstantsContext ctx)
JavaParser.enumConstants().ctx - the parse treeT visitEnumConstant(JavaParser.EnumConstantContext ctx)
JavaParser.enumConstant().ctx - the parse treeT visitEnumBodyDeclarations(JavaParser.EnumBodyDeclarationsContext ctx)
JavaParser.enumBodyDeclarations().ctx - the parse treeT visitInterfaceDeclaration(JavaParser.InterfaceDeclarationContext ctx)
JavaParser.interfaceDeclaration().ctx - the parse treeT visitClassBody(JavaParser.ClassBodyContext ctx)
JavaParser.classBody().ctx - the parse treeT visitInterfaceBody(JavaParser.InterfaceBodyContext ctx)
JavaParser.interfaceBody().ctx - the parse treeT visitClassBodyDeclaration(JavaParser.ClassBodyDeclarationContext ctx)
JavaParser.classBodyDeclaration().ctx - the parse treeT visitMemberDeclaration(JavaParser.MemberDeclarationContext ctx)
JavaParser.memberDeclaration().ctx - the parse treeT visitMethodDeclaration(JavaParser.MethodDeclarationContext ctx)
JavaParser.methodDeclaration().ctx - the parse treeT visitMethodBody(JavaParser.MethodBodyContext ctx)
JavaParser.methodBody().ctx - the parse treeT visitTypeTypeOrVoid(JavaParser.TypeTypeOrVoidContext ctx)
JavaParser.typeTypeOrVoid().ctx - the parse treeT visitGenericMethodDeclaration(JavaParser.GenericMethodDeclarationContext ctx)
JavaParser.genericMethodDeclaration().ctx - the parse treeT visitGenericConstructorDeclaration(JavaParser.GenericConstructorDeclarationContext ctx)
JavaParser.genericConstructorDeclaration().ctx - the parse treeT visitConstructorDeclaration(JavaParser.ConstructorDeclarationContext ctx)
JavaParser.constructorDeclaration().ctx - the parse treeT visitCompactConstructorDeclaration(JavaParser.CompactConstructorDeclarationContext ctx)
JavaParser.compactConstructorDeclaration().ctx - the parse treeT visitFieldDeclaration(JavaParser.FieldDeclarationContext ctx)
JavaParser.fieldDeclaration().ctx - the parse treeT visitInterfaceBodyDeclaration(JavaParser.InterfaceBodyDeclarationContext ctx)
JavaParser.interfaceBodyDeclaration().ctx - the parse treeT visitInterfaceMemberDeclaration(JavaParser.InterfaceMemberDeclarationContext ctx)
JavaParser.interfaceMemberDeclaration().ctx - the parse treeT visitConstDeclaration(JavaParser.ConstDeclarationContext ctx)
JavaParser.constDeclaration().ctx - the parse treeT visitConstantDeclarator(JavaParser.ConstantDeclaratorContext ctx)
JavaParser.constantDeclarator().ctx - the parse treeT visitInterfaceMethodDeclaration(JavaParser.InterfaceMethodDeclarationContext ctx)
JavaParser.interfaceMethodDeclaration().ctx - the parse treeT visitInterfaceMethodModifier(JavaParser.InterfaceMethodModifierContext ctx)
JavaParser.interfaceMethodModifier().ctx - the parse treeT visitGenericInterfaceMethodDeclaration(JavaParser.GenericInterfaceMethodDeclarationContext ctx)
JavaParser.genericInterfaceMethodDeclaration().ctx - the parse treeT visitInterfaceCommonBodyDeclaration(JavaParser.InterfaceCommonBodyDeclarationContext ctx)
JavaParser.interfaceCommonBodyDeclaration().ctx - the parse treeT visitVariableDeclarators(JavaParser.VariableDeclaratorsContext ctx)
JavaParser.variableDeclarators().ctx - the parse treeT visitVariableDeclarator(JavaParser.VariableDeclaratorContext ctx)
JavaParser.variableDeclarator().ctx - the parse treeT visitVariableDeclaratorId(JavaParser.VariableDeclaratorIdContext ctx)
JavaParser.variableDeclaratorId().ctx - the parse treeT visitVariableInitializer(JavaParser.VariableInitializerContext ctx)
JavaParser.variableInitializer().ctx - the parse treeT visitArrayInitializer(JavaParser.ArrayInitializerContext ctx)
JavaParser.arrayInitializer().ctx - the parse treeT visitClassOrInterfaceType(JavaParser.ClassOrInterfaceTypeContext ctx)
JavaParser.classOrInterfaceType().ctx - the parse treeT visitTypeArgument(JavaParser.TypeArgumentContext ctx)
JavaParser.typeArgument().ctx - the parse treeT visitQualifiedNameList(JavaParser.QualifiedNameListContext ctx)
JavaParser.qualifiedNameList().ctx - the parse treeT visitFormalParameters(JavaParser.FormalParametersContext ctx)
JavaParser.formalParameters().ctx - the parse treeT visitReceiverParameter(JavaParser.ReceiverParameterContext ctx)
JavaParser.receiverParameter().ctx - the parse treeT visitFormalParameterList(JavaParser.FormalParameterListContext ctx)
JavaParser.formalParameterList().ctx - the parse treeT visitFormalParameter(JavaParser.FormalParameterContext ctx)
JavaParser.formalParameter().ctx - the parse treeT visitLastFormalParameter(JavaParser.LastFormalParameterContext ctx)
JavaParser.lastFormalParameter().ctx - the parse treeT visitLambdaLVTIList(JavaParser.LambdaLVTIListContext ctx)
JavaParser.lambdaLVTIList().ctx - the parse treeT visitLambdaLVTIParameter(JavaParser.LambdaLVTIParameterContext ctx)
JavaParser.lambdaLVTIParameter().ctx - the parse treeT visitQualifiedName(JavaParser.QualifiedNameContext ctx)
JavaParser.qualifiedName().ctx - the parse treeT visitLiteral(JavaParser.LiteralContext ctx)
JavaParser.literal().ctx - the parse treeT visitIntegerLiteral(JavaParser.IntegerLiteralContext ctx)
JavaParser.integerLiteral().ctx - the parse treeT visitFloatLiteral(JavaParser.FloatLiteralContext ctx)
JavaParser.floatLiteral().ctx - the parse treeT visitAltAnnotationQualifiedName(JavaParser.AltAnnotationQualifiedNameContext ctx)
JavaParser.altAnnotationQualifiedName().ctx - the parse treeT visitAnnotation(JavaParser.AnnotationContext ctx)
JavaParser.annotation().ctx - the parse treeT visitElementValuePairs(JavaParser.ElementValuePairsContext ctx)
JavaParser.elementValuePairs().ctx - the parse treeT visitElementValuePair(JavaParser.ElementValuePairContext ctx)
JavaParser.elementValuePair().ctx - the parse treeT visitElementValue(JavaParser.ElementValueContext ctx)
JavaParser.elementValue().ctx - the parse treeT visitElementValueArrayInitializer(JavaParser.ElementValueArrayInitializerContext ctx)
JavaParser.elementValueArrayInitializer().ctx - the parse treeT visitAnnotationTypeDeclaration(JavaParser.AnnotationTypeDeclarationContext ctx)
JavaParser.annotationTypeDeclaration().ctx - the parse treeT visitAnnotationTypeBody(JavaParser.AnnotationTypeBodyContext ctx)
JavaParser.annotationTypeBody().ctx - the parse treeT visitAnnotationTypeElementDeclaration(JavaParser.AnnotationTypeElementDeclarationContext ctx)
JavaParser.annotationTypeElementDeclaration().ctx - the parse treeT visitAnnotationTypeElementRest(JavaParser.AnnotationTypeElementRestContext ctx)
JavaParser.annotationTypeElementRest().ctx - the parse treeT visitAnnotationMethodOrConstantRest(JavaParser.AnnotationMethodOrConstantRestContext ctx)
JavaParser.annotationMethodOrConstantRest().ctx - the parse treeT visitAnnotationMethodRest(JavaParser.AnnotationMethodRestContext ctx)
JavaParser.annotationMethodRest().ctx - the parse treeT visitAnnotationConstantRest(JavaParser.AnnotationConstantRestContext ctx)
JavaParser.annotationConstantRest().ctx - the parse treeT visitDefaultValue(JavaParser.DefaultValueContext ctx)
JavaParser.defaultValue().ctx - the parse treeT visitModuleDeclaration(JavaParser.ModuleDeclarationContext ctx)
JavaParser.moduleDeclaration().ctx - the parse treeT visitModuleBody(JavaParser.ModuleBodyContext ctx)
JavaParser.moduleBody().ctx - the parse treeT visitModuleDirective(JavaParser.ModuleDirectiveContext ctx)
JavaParser.moduleDirective().ctx - the parse treeT visitRequiresModifier(JavaParser.RequiresModifierContext ctx)
JavaParser.requiresModifier().ctx - the parse treeT visitRecordDeclaration(JavaParser.RecordDeclarationContext ctx)
JavaParser.recordDeclaration().ctx - the parse treeT visitRecordHeader(JavaParser.RecordHeaderContext ctx)
JavaParser.recordHeader().ctx - the parse treeT visitRecordComponentList(JavaParser.RecordComponentListContext ctx)
JavaParser.recordComponentList().ctx - the parse treeT visitRecordComponent(JavaParser.RecordComponentContext ctx)
JavaParser.recordComponent().ctx - the parse treeT visitRecordBody(JavaParser.RecordBodyContext ctx)
JavaParser.recordBody().ctx - the parse treeT visitBlock(JavaParser.BlockContext ctx)
JavaParser.block().ctx - the parse treeT visitBlockStatement(JavaParser.BlockStatementContext ctx)
JavaParser.blockStatement().ctx - the parse treeT visitLocalVariableDeclaration(JavaParser.LocalVariableDeclarationContext ctx)
JavaParser.localVariableDeclaration().ctx - the parse treeT visitIdentifier(JavaParser.IdentifierContext ctx)
JavaParser.identifier().ctx - the parse treeT visitTypeIdentifier(JavaParser.TypeIdentifierContext ctx)
JavaParser.typeIdentifier().ctx - the parse treeT visitLocalTypeDeclaration(JavaParser.LocalTypeDeclarationContext ctx)
JavaParser.localTypeDeclaration().ctx - the parse treeT visitStatement(JavaParser.StatementContext ctx)
JavaParser.statement().ctx - the parse treeT visitCatchClause(JavaParser.CatchClauseContext ctx)
JavaParser.catchClause().ctx - the parse treeT visitCatchType(JavaParser.CatchTypeContext ctx)
JavaParser.catchType().ctx - the parse treeT visitFinallyBlock(JavaParser.FinallyBlockContext ctx)
JavaParser.finallyBlock().ctx - the parse treeT visitResourceSpecification(JavaParser.ResourceSpecificationContext ctx)
JavaParser.resourceSpecification().ctx - the parse treeT visitResources(JavaParser.ResourcesContext ctx)
JavaParser.resources().ctx - the parse treeT visitResource(JavaParser.ResourceContext ctx)
JavaParser.resource().ctx - the parse treeT visitSwitchBlockStatementGroup(JavaParser.SwitchBlockStatementGroupContext ctx)
JavaParser.switchBlockStatementGroup().ctx - the parse treeT visitSwitchLabel(JavaParser.SwitchLabelContext ctx)
JavaParser.switchLabel().ctx - the parse treeT visitForControl(JavaParser.ForControlContext ctx)
JavaParser.forControl().ctx - the parse treeT visitForInit(JavaParser.ForInitContext ctx)
JavaParser.forInit().ctx - the parse treeT visitEnhancedForControl(JavaParser.EnhancedForControlContext ctx)
JavaParser.enhancedForControl().ctx - the parse treeT visitParExpression(JavaParser.ParExpressionContext ctx)
JavaParser.parExpression().ctx - the parse treeT visitExpressionList(JavaParser.ExpressionListContext ctx)
JavaParser.expressionList().ctx - the parse treeT visitMethodCall(JavaParser.MethodCallContext ctx)
JavaParser.methodCall().ctx - the parse treeT visitExpression(JavaParser.ExpressionContext ctx)
JavaParser.expression().ctx - the parse treeT visitPattern(JavaParser.PatternContext ctx)
JavaParser.pattern().ctx - the parse treeT visitLambdaExpression(JavaParser.LambdaExpressionContext ctx)
JavaParser.lambdaExpression().ctx - the parse treeT visitLambdaParameters(JavaParser.LambdaParametersContext ctx)
JavaParser.lambdaParameters().ctx - the parse treeT visitLambdaBody(JavaParser.LambdaBodyContext ctx)
JavaParser.lambdaBody().ctx - the parse treeT visitPrimary(JavaParser.PrimaryContext ctx)
JavaParser.primary().ctx - the parse treeT visitSwitchExpression(JavaParser.SwitchExpressionContext ctx)
JavaParser.switchExpression().ctx - the parse treeT visitSwitchLabeledRule(JavaParser.SwitchLabeledRuleContext ctx)
JavaParser.switchLabeledRule().ctx - the parse treeT visitGuardedPattern(JavaParser.GuardedPatternContext ctx)
JavaParser.guardedPattern().ctx - the parse treeT visitSwitchRuleOutcome(JavaParser.SwitchRuleOutcomeContext ctx)
JavaParser.switchRuleOutcome().ctx - the parse treeT visitClassType(JavaParser.ClassTypeContext ctx)
JavaParser.classType().ctx - the parse treeT visitCreator(JavaParser.CreatorContext ctx)
JavaParser.creator().ctx - the parse treeT visitCreatedName(JavaParser.CreatedNameContext ctx)
JavaParser.createdName().ctx - the parse treeT visitInnerCreator(JavaParser.InnerCreatorContext ctx)
JavaParser.innerCreator().ctx - the parse treeT visitArrayCreatorRest(JavaParser.ArrayCreatorRestContext ctx)
JavaParser.arrayCreatorRest().ctx - the parse treeT visitClassCreatorRest(JavaParser.ClassCreatorRestContext ctx)
JavaParser.classCreatorRest().ctx - the parse treeT visitExplicitGenericInvocation(JavaParser.ExplicitGenericInvocationContext ctx)
JavaParser.explicitGenericInvocation().ctx - the parse treeT visitTypeArgumentsOrDiamond(JavaParser.TypeArgumentsOrDiamondContext ctx)
JavaParser.typeArgumentsOrDiamond().ctx - the parse treeT visitNonWildcardTypeArgumentsOrDiamond(JavaParser.NonWildcardTypeArgumentsOrDiamondContext ctx)
JavaParser.nonWildcardTypeArgumentsOrDiamond().ctx - the parse treeT visitNonWildcardTypeArguments(JavaParser.NonWildcardTypeArgumentsContext ctx)
JavaParser.nonWildcardTypeArguments().ctx - the parse treeT visitTypeList(JavaParser.TypeListContext ctx)
JavaParser.typeList().ctx - the parse treeT visitTypeType(JavaParser.TypeTypeContext ctx)
JavaParser.typeType().ctx - the parse treeT visitPrimitiveType(JavaParser.PrimitiveTypeContext ctx)
JavaParser.primitiveType().ctx - the parse treeT visitTypeArguments(JavaParser.TypeArgumentsContext ctx)
JavaParser.typeArguments().ctx - the parse treeT visitSuperSuffix(JavaParser.SuperSuffixContext ctx)
JavaParser.superSuffix().ctx - the parse treeT visitExplicitGenericInvocationSuffix(JavaParser.ExplicitGenericInvocationSuffixContext ctx)
JavaParser.explicitGenericInvocationSuffix().ctx - the parse treeT visitArguments(JavaParser.ArgumentsContext ctx)
JavaParser.arguments().ctx - the parse tree