com.netflix.java.refactor.aspectj.JavaParserVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-source-refactor Show documentation
Show all versions of java-source-refactor Show documentation
Pluggable and distributed refactoring tool for Java source code
// Generated from /Users/joschneider/Projects/github/jkschneider/java-source-refactor/src/main/antlr4/JavaParser.g4 by ANTLR 4.2.2
package com.netflix.java.refactor.aspectj;
import org.antlr.v4.runtime.misc.NotNull;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link JavaParser}.
*
* @param The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public interface JavaParserVisitor extends ParseTreeVisitor {
/**
* Visit a parse tree produced by {@link JavaParser#memberDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMemberDeclaration(@NotNull JavaParser.MemberDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#defaultValue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDefaultValue(@NotNull JavaParser.DefaultValueContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#annotationTypeElementDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAnnotationTypeElementDeclaration(@NotNull JavaParser.AnnotationTypeElementDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#type}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitType(@NotNull JavaParser.TypeContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#annotationTypeBody}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAnnotationTypeBody(@NotNull JavaParser.AnnotationTypeBodyContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#genericInterfaceMethodDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitGenericInterfaceMethodDeclaration(@NotNull JavaParser.GenericInterfaceMethodDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#classBodyDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitClassBodyDeclaration(@NotNull JavaParser.ClassBodyDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#block}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBlock(@NotNull JavaParser.BlockContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#enumBodyDeclarations}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEnumBodyDeclarations(@NotNull JavaParser.EnumBodyDeclarationsContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#forUpdate}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitForUpdate(@NotNull JavaParser.ForUpdateContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#enhancedForControl}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEnhancedForControl(@NotNull JavaParser.EnhancedForControlContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#annotationConstantRest}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAnnotationConstantRest(@NotNull JavaParser.AnnotationConstantRestContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#explicitGenericInvocation}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExplicitGenericInvocation(@NotNull JavaParser.ExplicitGenericInvocationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#nonWildcardTypeArgumentsOrDiamond}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNonWildcardTypeArgumentsOrDiamond(@NotNull JavaParser.NonWildcardTypeArgumentsOrDiamondContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#expressionList}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpressionList(@NotNull JavaParser.ExpressionListContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#annotationTypeElementRest}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAnnotationTypeElementRest(@NotNull JavaParser.AnnotationTypeElementRestContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#classOrInterfaceType}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitClassOrInterfaceType(@NotNull JavaParser.ClassOrInterfaceTypeContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#typeBound}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTypeBound(@NotNull JavaParser.TypeBoundContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#variableDeclaratorId}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitVariableDeclaratorId(@NotNull JavaParser.VariableDeclaratorIdContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#primary}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPrimary(@NotNull JavaParser.PrimaryContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#classCreatorRest}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitClassCreatorRest(@NotNull JavaParser.ClassCreatorRestContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#interfaceBodyDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInterfaceBodyDeclaration(@NotNull JavaParser.InterfaceBodyDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#typeArguments}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTypeArguments(@NotNull JavaParser.TypeArgumentsContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#annotationName}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAnnotationName(@NotNull JavaParser.AnnotationNameContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#finallyBlock}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFinallyBlock(@NotNull JavaParser.FinallyBlockContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#typeParameters}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTypeParameters(@NotNull JavaParser.TypeParametersContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#lastFormalParameter}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLastFormalParameter(@NotNull JavaParser.LastFormalParameterContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#constructorBody}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitConstructorBody(@NotNull JavaParser.ConstructorBodyContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#literal}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLiteral(@NotNull JavaParser.LiteralContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#annotationMethodOrConstantRest}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAnnotationMethodOrConstantRest(@NotNull JavaParser.AnnotationMethodOrConstantRestContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#catchClause}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCatchClause(@NotNull JavaParser.CatchClauseContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#variableDeclarator}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitVariableDeclarator(@NotNull JavaParser.VariableDeclaratorContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#typeList}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTypeList(@NotNull JavaParser.TypeListContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#enumConstants}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEnumConstants(@NotNull JavaParser.EnumConstantsContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#classBody}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitClassBody(@NotNull JavaParser.ClassBodyContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#createdName}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCreatedName(@NotNull JavaParser.CreatedNameContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#enumDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEnumDeclaration(@NotNull JavaParser.EnumDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#formalParameter}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFormalParameter(@NotNull JavaParser.FormalParameterContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#parExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitParExpression(@NotNull JavaParser.ParExpressionContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#annotation}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAnnotation(@NotNull JavaParser.AnnotationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#variableInitializer}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitVariableInitializer(@NotNull JavaParser.VariableInitializerContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#elementValueArrayInitializer}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitElementValueArrayInitializer(@NotNull JavaParser.ElementValueArrayInitializerContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#creator}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCreator(@NotNull JavaParser.CreatorContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#arrayCreatorRest}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitArrayCreatorRest(@NotNull JavaParser.ArrayCreatorRestContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression(@NotNull JavaParser.ExpressionContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#constantExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitConstantExpression(@NotNull JavaParser.ConstantExpressionContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#qualifiedNameList}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitQualifiedNameList(@NotNull JavaParser.QualifiedNameListContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#constructorDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitConstructorDeclaration(@NotNull JavaParser.ConstructorDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#forControl}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitForControl(@NotNull JavaParser.ForControlContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#superSuffix}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSuperSuffix(@NotNull JavaParser.SuperSuffixContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#variableDeclarators}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitVariableDeclarators(@NotNull JavaParser.VariableDeclaratorsContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#catchType}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCatchType(@NotNull JavaParser.CatchTypeContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#classOrInterfaceModifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitClassOrInterfaceModifier(@NotNull JavaParser.ClassOrInterfaceModifierContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#enumConstantName}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEnumConstantName(@NotNull JavaParser.EnumConstantNameContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#modifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitModifier(@NotNull JavaParser.ModifierContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#innerCreator}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInnerCreator(@NotNull JavaParser.InnerCreatorContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#explicitGenericInvocationSuffix}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExplicitGenericInvocationSuffix(@NotNull JavaParser.ExplicitGenericInvocationSuffixContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#variableModifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitVariableModifier(@NotNull JavaParser.VariableModifierContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#elementValuePair}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitElementValuePair(@NotNull JavaParser.ElementValuePairContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#arrayInitializer}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitArrayInitializer(@NotNull JavaParser.ArrayInitializerContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#elementValue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitElementValue(@NotNull JavaParser.ElementValueContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#constDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitConstDeclaration(@NotNull JavaParser.ConstDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#resource}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitResource(@NotNull JavaParser.ResourceContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#qualifiedName}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitQualifiedName(@NotNull JavaParser.QualifiedNameContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#resourceSpecification}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitResourceSpecification(@NotNull JavaParser.ResourceSpecificationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#formalParameterList}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFormalParameterList(@NotNull JavaParser.FormalParameterListContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#annotationTypeDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAnnotationTypeDeclaration(@NotNull JavaParser.AnnotationTypeDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#compilationUnit}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCompilationUnit(@NotNull JavaParser.CompilationUnitContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#annotationMethodRest}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAnnotationMethodRest(@NotNull JavaParser.AnnotationMethodRestContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#switchBlockStatementGroup}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSwitchBlockStatementGroup(@NotNull JavaParser.SwitchBlockStatementGroupContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#typeParameter}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTypeParameter(@NotNull JavaParser.TypeParameterContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#interfaceBody}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInterfaceBody(@NotNull JavaParser.InterfaceBodyContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#methodDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMethodDeclaration(@NotNull JavaParser.MethodDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#methodBody}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMethodBody(@NotNull JavaParser.MethodBodyContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#typeArgument}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTypeArgument(@NotNull JavaParser.TypeArgumentContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#typeDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTypeDeclaration(@NotNull JavaParser.TypeDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#genericConstructorDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitGenericConstructorDeclaration(@NotNull JavaParser.GenericConstructorDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#classDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitClassDeclaration(@NotNull JavaParser.ClassDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#enumConstant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEnumConstant(@NotNull JavaParser.EnumConstantContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#statement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStatement(@NotNull JavaParser.StatementContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#importDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitImportDeclaration(@NotNull JavaParser.ImportDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#primitiveType}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPrimitiveType(@NotNull JavaParser.PrimitiveTypeContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#interfaceDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInterfaceDeclaration(@NotNull JavaParser.InterfaceDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#localVariableDeclarationStatement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLocalVariableDeclarationStatement(@NotNull JavaParser.LocalVariableDeclarationStatementContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#blockStatement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBlockStatement(@NotNull JavaParser.BlockStatementContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#fieldDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFieldDeclaration(@NotNull JavaParser.FieldDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#constantDeclarator}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitConstantDeclarator(@NotNull JavaParser.ConstantDeclaratorContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#resources}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitResources(@NotNull JavaParser.ResourcesContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#statementExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStatementExpression(@NotNull JavaParser.StatementExpressionContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#interfaceMethodDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInterfaceMethodDeclaration(@NotNull JavaParser.InterfaceMethodDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#packageDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPackageDeclaration(@NotNull JavaParser.PackageDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#elementValuePairs}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitElementValuePairs(@NotNull JavaParser.ElementValuePairsContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#localVariableDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLocalVariableDeclaration(@NotNull JavaParser.LocalVariableDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#nonWildcardTypeArguments}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNonWildcardTypeArguments(@NotNull JavaParser.NonWildcardTypeArgumentsContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#interfaceMemberDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInterfaceMemberDeclaration(@NotNull JavaParser.InterfaceMemberDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#switchLabel}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSwitchLabel(@NotNull JavaParser.SwitchLabelContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#forInit}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitForInit(@NotNull JavaParser.ForInitContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#formalParameters}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFormalParameters(@NotNull JavaParser.FormalParametersContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#arguments}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitArguments(@NotNull JavaParser.ArgumentsContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#genericMethodDeclaration}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitGenericMethodDeclaration(@NotNull JavaParser.GenericMethodDeclarationContext ctx);
/**
* Visit a parse tree produced by {@link JavaParser#typeArgumentsOrDiamond}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTypeArgumentsOrDiamond(@NotNull JavaParser.TypeArgumentsOrDiamondContext ctx);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy