Package | Description |
---|---|
com.puppycrawl.tools.checkstyle |
Contains the implementation of the Checkstyle framework.
|
com.puppycrawl.tools.checkstyle.api |
Contains the core API to be used to implement checks.
|
com.puppycrawl.tools.checkstyle.checks.regexp |
Contains the regular expression checks that are bundled with the main
distribution.
|
com.puppycrawl.tools.checkstyle.gui |
User interface classes for CheckStyle.
|
Modifier and Type | Method and Description |
---|---|
private static DetailAST |
AstTreeStringPrinter.parseFileText(FileText text,
boolean withComments)
Parse a text and return the parse tree.
|
static java.lang.String |
AstTreeStringPrinter.printAst(FileText text,
boolean withComments)
Parse a file and print the parse tree.
|
Modifier and Type | Field and Description |
---|---|
private FileText |
FileContents.text
The text.
|
Modifier and Type | Method and Description |
---|---|
static FileText |
FileText.fromLines(java.io.File file,
java.util.List<java.lang.String> lines)
Compatibility conversion.
|
FileText |
FileContents.getText()
Get the full text of the file.
|
Constructor and Description |
---|
FileContents(FileText text)
Creates a new
FileContents instance. |
FileText(FileText fileText)
Copy constructor.
|
Modifier and Type | Field and Description |
---|---|
private FileText |
MultilineDetector.text
The file text content.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
RegexpCheck.isIgnore(int startLine,
FileText text,
LineColumn start)
Detect ignore situation.
|
void |
MultilineDetector.processLines(FileText fileText)
Processes an entire text file looking for matches.
|
Modifier and Type | Method and Description |
---|---|
FileText |
MainFrameModel.getFileText(java.io.File file)
Get FileText from a file.
|