Top Description Inners Constructors Methods
org.codehaus.janino

public final Class Visitor

extends Object
Class Inheritance
Imports
org.codehaus.commons.nullanalysis.Nullable, org.codehaus.janino.Java.AbstractCompilationUnit, .Java.AccessModifier, .Java.AlternateConstructorInvocation, .Java.AmbiguousName, .Java.Annotation, .Java.AnonymousClassDeclaration, .Java.ArrayAccessExpression, .Java.ArrayCreationReference, .Java.ArrayInitializer, .Java.ArrayInitializerOrRvalue, .Java.ArrayLength, .Java.ArrayType, .Java.AssertStatement, .Java.Assignment, .Java.BinaryOperation, .Java.Block, .Java.BlockLambdaBody, .Java.BooleanLiteral, .Java.BreakStatement, .Java.Cast, .Java.CharacterLiteral, .Java.ClassInstanceCreationReference, .Java.ClassLiteral, .Java.CompilationUnit, .Java.ConditionalExpression, .Java.ConstructorDeclarator, .Java.ConstructorInvocation, .Java.ContinueStatement, .Java.Crement, .Java.DoStatement, .Java.ElementValueArrayInitializer, .Java.EmptyStatement, .Java.EnumConstant, .Java.ExportsModuleDirective, .Java.ExpressionLambdaBody, .Java.ExpressionStatement, .Java.FieldAccess, .Java.FieldAccessExpression, .Java.FieldDeclaration, .Java.FloatingPointLiteral, .Java.ForEachStatement, .Java.ForStatement, .Java.FormalLambdaParameters, .Java.FunctionDeclarator, .Java.IdentifierLambdaParameters, .Java.IfStatement, .Java.InferredLambdaParameters, .Java.Initializer, .Java.Instanceof, .Java.IntegerLiteral, .Java.LabeledStatement, .Java.LambdaExpression, .Java.LocalClassDeclaration, .Java.LocalClassDeclarationStatement, .Java.LocalVariableAccess, .Java.LocalVariableDeclarationStatement, .Java.Lvalue, .Java.MarkerAnnotation, .Java.MemberAnnotationTypeDeclaration, .Java.MemberClassDeclaration, .Java.MemberEnumDeclaration, .Java.MemberInterfaceDeclaration, .Java.MethodDeclarator, .Java.MethodInvocation, .Java.MethodReference, .Java.ModularCompilationUnit, .Java.NewAnonymousClassInstance, .Java.NewArray, .Java.NewClassInstance, .Java.NewInitializedArray, .Java.NormalAnnotation, .Java.NullLiteral, .Java.OpensModuleDirective, .Java.Package, .Java.PackageMemberAnnotationTypeDeclaration, .Java.PackageMemberClassDeclaration, .Java.PackageMemberEnumDeclaration, .Java.PackageMemberInterfaceDeclaration, .Java.ParameterAccess, .Java.ParenthesizedExpression, .Java.PrimitiveType, .Java.ProvidesModuleDirective, .Java.QualifiedThisReference, .Java.ReferenceType, .Java.RequiresModuleDirective, .Java.ReturnStatement, .Java.Rvalue, .Java.RvalueMemberType, .Java.SimpleConstant, .Java.SimpleType, .Java.SingleElementAnnotation, .Java.StringLiteral, .Java.SuperConstructorInvocation, .Java.SuperclassFieldAccessExpression, .Java.SuperclassMethodInvocation, .Java.SwitchStatement, .Java.SynchronizedStatement, .Java.TextBlock, .Java.ThisReference, .Java.ThrowStatement, .Java.TryStatement, .Java.Type, .Java.UnaryOperation, .Java.UsesModuleDirective, .Java.WhileStatement, .Java.Wildcard

The basis for the "visitor" pattern as described in "Gamma, Helm, Johnson, Vlissides: Design Patterns".

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
Visitor.AbstractCompilationUnitVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for the different kinds of Java.AbstractCompilationUnits.

public static interface
Visitor.AnnotationVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for all kinds of Java.Annotations.

public static interface
Visitor.ArrayInitializerOrRvalueVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for ArrayInitializerOrRvalue.

public static interface
Visitor.AtomVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for all kinds of Java.Atoms.

public static interface
Visitor.BlockStatementVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for all kinds of Java.BlockStatements (statements that may appear with a block).

public static interface
Visitor.ConstructorInvocationVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for all kinds of Java.ConstructorInvocations.

public static interface
Visitor.ElementValueVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

public static interface
Visitor.FieldDeclarationOrInitializerVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for all kinds of Java.BlockStatements (statements that may appear with a block).

public static interface
Visitor.FunctionDeclaratorVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for all kinds of Java.FunctionDeclarators.

public static interface
Visitor.ImportVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for all kinds of Java.AbstractCompilationUnit.ImportDeclarations.

public static interface
Visitor.LambdaBodyVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for the different kinds of Java.LambdaBodys.

public static interface
Visitor.LambdaParametersVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for the different kinds of Java.LambdaParameters styles.

public static interface
Visitor.LvalueVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for all kinds of Java.Lvalues.

public static interface
Visitor.ModifierVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for the different kinds of Java.Modifiers.

public static interface
Visitor.ModuleDirectiveVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for the different kinds of Java.ModuleDirectives.

public static interface
Visitor.RvalueVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for all kinds of Java.Rvalues.

public static interface
Visitor.TryStatementResourceVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for all kinds of Java.TryStatement.Resources.

public static interface
Visitor.TypeArgumentVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for all kinds of Java.TypeArguments.

public static interface
Visitor.TypeBodyDeclarationVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for all kinds of Java.TypeBodyDeclarations (declarations that may appear in the body of a type declaration).

public static interface
Visitor.TypeDeclarationVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for all kinds of Java.TypeDeclarations.

public static interface
Visitor.TypeVisitor<
The type of the object returned by the visit*() methods
R
,
The exception that the visit*() methods may throw
EX extends Throwable
>

The visitor for all kinds of Java.Types.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait