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 |
Contains the checks that are bundled with the main distribution.
|
com.puppycrawl.tools.checkstyle.filters |
Contains the filters that are bundled with the main distribution.
|
Modifier and Type | Method and Description |
---|---|
static DetailAST |
TreeWalker.parse(FileContents contents)
Static helper method to parses a Java source file.
|
static DetailAST |
TreeWalker.parseWithComments(FileContents contents)
Parses Java source file.
|
Modifier and Type | Method and Description |
---|---|
FileContents |
AbstractCheck.getFileContents()
Returns the file contents associated with the tree.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractCheck.setFileContents(FileContents contents)
Set the file contents associated with the tree.
|
Modifier and Type | Method and Description |
---|---|
static FileContents |
FileContentsHolder.getContents()
Deprecated.
use getCurrentFileContents() instead.
|
static FileContents |
FileContentsHolder.getCurrentFileContents()
Returns content of current file.
|
Modifier and Type | Method and Description |
---|---|
FileContents |
SuppressWithNearbyCommentFilter.getFileContents()
Returns FileContents for this filter.
|
FileContents |
SuppressionCommentFilter.getFileContents()
Returns FileContents for this filter.
|
Modifier and Type | Method and Description |
---|---|
void |
SuppressWithNearbyCommentFilter.setFileContents(FileContents fileContents)
Set the FileContents for this filter.
|
void |
SuppressionCommentFilter.setFileContents(FileContents fileContents)
Set the FileContents for this filter.
|
Copyright © 2001-2017. All Rights Reserved.