public class LineWrappingHandler extends Object
| Constructor and Description |
|---|
LineWrappingHandler(IndentationCheck instance,
DetailAST firstNode,
DetailAST lastNode)
Sets values of class field, finds last node and calculates indentation level.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkIndentation()
Checks line wrapping into expressions and definitions.
|
protected DetailAST |
getLastNode()
Getter for lastNode field.
|
public LineWrappingHandler(IndentationCheck instance, DetailAST firstNode, DetailAST lastNode)
instance - instance of IndentationCheck.firstNode - root node for current expression.lastNode - last node for current expression.protected final DetailAST getLastNode()
public void checkIndentation()
Copyright © 2001-2015. All Rights Reserved.