Uses of Class
com.puppycrawl.tools.checkstyle.checks.indentation.AbstractExpressionHandler
Packages that use AbstractExpressionHandler
Package
Description
Contains all classes required for the
indentation check.
-
Uses of AbstractExpressionHandler in com.puppycrawl.tools.checkstyle.checks.indentation
Modifier and TypeClassDescriptionclass
Handler for annotation array initialization blocks.class
Handler for array initialization blocks.class
Handler for parents of blocks ('if', 'else', 'while', etc).class
Handler for case statements.class
Handler for catch blocks.class
Handler for class definitions.class
Handler for do...while blocks.class
Handler for else blocks.class
Handler for finally blocks.class
Handler for for loops.class
Handler for if statements.class
Handler for import statements.class
Handler for array index operation.class
Handler for labels.class
Handler for lambda expressions.class
Handler for member definitions.class
Handler for method calls.class
Handler for method definitions.class
Handler for operator new.class
Handler for inner classes.class
Handler for package definitions.class
A default no-op handler.class
Handler for a list of statements.class
Handler for static initialization blocks.class
Handler for switch statements.class
Handler for switch rules.class
Handler for synchronized statements.class
Handler for try blocks.class
Handler for while loops.class
Handler for yield expression.Fields in com.puppycrawl.tools.checkstyle.checks.indentation declared as AbstractExpressionHandlerModifier and TypeFieldDescriptionprivate final AbstractExpressionHandler
AbstractExpressionHandler.parent
Containing AST handler.Fields in com.puppycrawl.tools.checkstyle.checks.indentation with type parameters of type AbstractExpressionHandlerModifier and TypeFieldDescriptionprivate final Map<DetailAST,
AbstractExpressionHandler> HandlerFactory.createdHandlers
Cache for created method call handlers.private final Deque<AbstractExpressionHandler>
IndentationCheck.handlers
Handlers currently in use.Methods in com.puppycrawl.tools.checkstyle.checks.indentation that return AbstractExpressionHandlerModifier and TypeMethodDescriptionprivate AbstractExpressionHandler
HandlerFactory.createMethodCallHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Create new instance of handler for METHOD_CALL.HandlerFactory.getHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Get the handler for an AST.protected final AbstractExpressionHandler
AbstractExpressionHandler.getParent()
Accessor for the Parent attribute.Methods in com.puppycrawl.tools.checkstyle.checks.indentation with parameters of type AbstractExpressionHandlerModifier and TypeMethodDescriptionprivate AbstractExpressionHandler
HandlerFactory.createMethodCallHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Create new instance of handler for METHOD_CALL.HandlerFactory.getHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Get the handler for an AST.AbstractExpressionHandler.getSuggestedChildIndent
(AbstractExpressionHandler child) Indentation level suggested for a child element.BlockParentHandler.getSuggestedChildIndent
(AbstractExpressionHandler child) CaseHandler.getSuggestedChildIndent
(AbstractExpressionHandler child) IfHandler.getSuggestedChildIndent
(AbstractExpressionHandler child) LambdaHandler.getSuggestedChildIndent
(AbstractExpressionHandler child) MemberDefHandler.getSuggestedChildIndent
(AbstractExpressionHandler child) MethodCallHandler.getSuggestedChildIndent
(AbstractExpressionHandler child) NewHandler.getSuggestedChildIndent
(AbstractExpressionHandler child) PrimordialHandler.getSuggestedChildIndent
(AbstractExpressionHandler child) SlistHandler.getSuggestedChildIndent
(AbstractExpressionHandler child) SwitchRuleHandler.getSuggestedChildIndent
(AbstractExpressionHandler child) TryHandler.getSuggestedChildIndent
(AbstractExpressionHandler child) private static boolean
TryHandler.isTryBlocksResourceSpecification
(AbstractExpressionHandler expression) Check if the expression is resource of try block.Constructors in com.puppycrawl.tools.checkstyle.checks.indentation with parameters of type AbstractExpressionHandlerModifierConstructorDescriptionprotected
AbstractExpressionHandler
(IndentationCheck indentCheck, String typeName, DetailAST expr, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, name, abstract syntax tree, and parent handler.AnnotationArrayInitHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.ArrayInitHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.BlockParentHandler
(IndentationCheck indentCheck, String name, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, name, abstract syntax tree, and parent handler.CaseHandler
(IndentationCheck indentCheck, DetailAST expr, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.CatchHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.ClassDefHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.DoWhileHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.ElseHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.FinallyHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.ForHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.IfHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.ImportHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.IndexHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.LabelHandler
(IndentationCheck indentCheck, DetailAST expr, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.LambdaHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.MemberDefHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.MethodCallHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.MethodDefHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.NewHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.ObjectBlockHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.PackageDefHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.SlistHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.StaticInitHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.SwitchHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.SwitchRuleHandler
(IndentationCheck indentCheck, DetailAST expr, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.SynchronizedHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, name, abstract syntax tree, and parent handler.TryHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.WhileHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.YieldHandler
(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.