| |
|
| java.lang.Object org.hammurapi.inspectors.formatting.FormattingCheckerBase org.hammurapi.inspectors.formatting.FormattingCheckerSameLine org.hammurapi.inspectors.formatting.FormattingCheckerNewLine
FormattingCheckerNewLine | class FormattingCheckerNewLine extends FormattingCheckerSameLine (Code) | | Implementation of FormattingChecker for formatting style with opening curly
braces in a new line
author: Jochen Skulj version: $Revision: 1.1 $ |
FormattingCheckerNewLine | public FormattingCheckerNewLine()(Code) | | constructor
|
checkNextLCurly | protected boolean checkNextLCurly(Token aToken)(Code) | | checks formatting for tokens that are follow opening curly brace (like do)
Parameters: aToken - current Token true if the token violates a rule; otherwise false |
checkNextLParen | protected boolean checkNextLParen(Token aToken)(Code) | | checks formatting for tokens that are followed by expression in parenthesis
Parameters: aToken - currentToken true if the token violates a rule; otherwise false |
checkPrevRCurly | protected boolean checkPrevRCurly(Token aToken)(Code) | | checks formatting for tokens that are successors of a closing curly brace
like else, catch or finally
Parameters: aToken - current Token true if the token violates a rule; otherwise false |
Fields inherited from org.hammurapi.inspectors.formatting.FormattingCheckerBase | protected int indentationLevel(Code)(Java Doc)
|
|
|
|