Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.puppycrawl.tools.checkstyle.checks.indentation: Javadoc index of package com.puppycrawl.tools.checkstyle.checks.indentation.


Package Samples:

com.puppycrawl.tools.checkstyle.checks.indentation

Classes:

IndentationCheck: Checks correct indentation of Java Code. The basic idea behind this is that while pretty printers are sometimes convienent for bulk reformats of legacy code, they often either aren't configurable enough or just can't anticipate how format should be done. Sometimes this is personal preference, other times it is practical experience. In any case, this check should just ensure that a minimal set of indentation rules are followed. Implementation -- Basically, this check requests visitation for all handled token types (those tokens registered in the HandlerFactory). When visitToken is called, a new ...
BlockParentHandler: Handler for parents of blocks ('if', 'else', 'while', etc). The "block" handler classes use a common superclass BlockParentHandler, employing the Template Method pattern. template method to get the lcurly template method to get the rcurly if curlys aren't present, then template method to get expressions is called now all the repetitous code which checks for BOL, if curlys are on same line, etc. can be collapsed into the superclass
IndentLevel: Encapsulates representation of notion of expected indentation levels. Provide a way to have multiple accaptable levels.
HandlerFactory: Factory for handlers. Looks up constructor via reflection.
StaticInitHandler: Handler for static initialization blocks.
ArrayInitHandler: Handler for array initialization blocks.
ExpressionHandler: Abstract base class for all handlers.
SlistHandler: Handler for a list of statements.
PackageDefHandler: Handler for package definitions.
MethodDefHandler: Handler for method definitions.
ClassDefHandler: Handler for class definitions.
DoWhileHandler: Handler for do...while blocks.
ImportHandler: Handler for import statements.
SwitchHandler: Handler for switch statements.
CaseHandler: Handler for case statements.
FinallyHandler: Handler for finally blocks.
IfHandler: Handler for if statements.
LineSet: Represents a set of lines.
ObjectBlockHandler: Handler for inner classes.
AssignHandler: Handler for assignements.
CatchHandler: Handler for catch blocks.
MethodCallHandler: Handler for method calls.
ElseHandler: Handler for else blocks.
PrimordialHandler: A default no-op handler.
WhileHandler: Handler for while loops.

Home | Contact Us | Privacy Policy | Terms of Service