Package com.puppycrawl.tools.checkstyle.checks.indentation
Contains all classes required for the
indentation check.
-
Class Summary Class Description AbstractExpressionHandler Abstract base class for all handlers.AnnotationArrayInitHandler Handler for annotation array initialization blocks.ArrayInitHandler Handler for array initialization blocks.BlockParentHandler Handler for parents of blocks ('if', 'else', 'while', etc).CaseHandler Handler for case statements.CatchHandler Handler for catch blocks.ClassDefHandler Handler for class definitions.CommentsIndentationCheck Controls the indentation between comments and surrounding code.DetailAstSet Represents a set of abstract syntax tree.DoWhileHandler Handler for do...while blocks.ElseHandler Handler for else blocks.FinallyHandler Handler for finally blocks.ForHandler Handler for for loops.HandlerFactory Factory for handlers.IfHandler Handler for if statements.ImportHandler Handler for import statements.IndentationCheck Checks correct indentation of Java code.IndentLevel Encapsulates representation of notion of expected indentation levels.IndexHandler Handler for array index operation.LabelHandler Handler for labels.LambdaHandler Handler for lambda expressions.LineWrappingHandler This class checks line-wrapping into definitions and expressions.MemberDefHandler Handler for member definitions.MethodCallHandler Handler for method calls.MethodDefHandler Handler for method definitions.NewHandler Handler for operator new.ObjectBlockHandler Handler for inner classes.PackageDefHandler Handler for package definitions.PrimordialHandler A default no-op handler.SlistHandler Handler for a list of statements.StaticInitHandler Handler for static initialization blocks.SwitchHandler Handler for switch statements.SwitchRuleHandler Handler for switch rules.SynchronizedHandler Handler for synchronized statements.TryHandler Handler for try blocks.WhileHandler Handler for while loops.YieldHandler Handler for yield expression. -
Enum Summary Enum Description LineWrappingHandler.LineWrappingOptions Enum to be used for test if first line's indentation should be checked or not.