Uses of Class
com.puppycrawl.tools.checkstyle.checks.indentation.IndentationContext
Packages that use IndentationContext
Package
Description
Contains all classes required for the
indentation check.
-
Uses of IndentationContext in com.puppycrawl.tools.checkstyle.checks.indentation
Fields in com.puppycrawl.tools.checkstyle.checks.indentation declared as IndentationContextModifier and TypeFieldDescriptionprivate final IndentationContextAbstractExpressionHandler.contextThe indentation context providing config values, source lines, and violation reporting without a direct reference to the check.private final IndentationContextDetailAstSet.contextThe indentation context used by this class.private IndentationContextIndentationCheck.contextContext handed to handlers for this file; rebuilt inIndentationCheck.beginTree(com.puppycrawl.tools.checkstyle.api.DetailAST).private IndentationContextLineWrappingHandler.contextThe indentation context.private final IndentationContextMethodCallHandler.contextThe indentation context used by this class.Methods in com.puppycrawl.tools.checkstyle.checks.indentation that return IndentationContextModifier and TypeMethodDescriptionprotected final IndentationContextAbstractExpressionHandler.getContext()Accessor for the indentation context.Methods in com.puppycrawl.tools.checkstyle.checks.indentation with parameters of type IndentationContextModifier and TypeMethodDescriptionprivate AbstractExpressionHandlerHandlerFactory.createMethodCallHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Create new instance of handler for METHOD_CALL.HandlerFactory.getHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Get the handler for an AST.(package private) voidLineWrappingHandler.setContext(IndentationContext indentationContext) Injects the indentation context.Constructors in com.puppycrawl.tools.checkstyle.checks.indentation with parameters of type IndentationContextModifierConstructorDescriptionprotectedAbstractExpressionHandler(IndentationContext context, String typeName, DetailAST expr, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, name, abstract syntax tree, and parent handler.AnnotationArrayInitHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.ArrayInitHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.BlockParentHandler(IndentationContext context, String name, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, name, abstract syntax tree, and parent handler.CaseHandler(IndentationContext context, DetailAST expr, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.CatchHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.ClassDefHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.DetailAstSet(IndentationContext context) Construct an instance of this class with the given indentation context.DoWhileHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.ElseHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.FinallyHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.ForHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.IfHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.ImportHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.IndexHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.LabelHandler(IndentationContext context, DetailAST expr, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.LambdaHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.MemberDefHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.MethodCallHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.MethodDefHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.NewHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.ObjectBlockHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.PackageDefHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.PrimordialHandler(IndentationContext context) Construct an instance of this handler with the given indentation context.SlistHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.StaticInitHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.SwitchHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.SwitchRuleHandler(IndentationContext context, DetailAST expr, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.SynchronizedHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, name, abstract syntax tree, and parent handler.TryHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.WhileHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.YieldHandler(IndentationContext context, DetailAST ast, AbstractExpressionHandler parent) Construct an instance of this handler with the given indentation context, abstract syntax tree, and parent handler.