| 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.
|
| Modifier and Type | Field and Description |
|---|---|
private Violation |
TreeWalkerAuditEvent.violation
Violation associated with the event.
|
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<Violation,java.lang.String> |
XpathFileGeneratorAstFilter.MESSAGE_QUERY_MAP
Map from
Violation objects to xpath queries. |
private java.util.SortedSet<Violation> |
TreeWalker.violations
The sorted set of violations.
|
| Modifier and Type | Method and Description |
|---|---|
Violation |
TreeWalkerAuditEvent.getViolation()
Gets the violation.
|
| Modifier and Type | Method and Description |
|---|---|
private java.util.SortedSet<Violation> |
TreeWalker.getFilteredViolations(java.lang.String fileName,
FileContents fileContents,
DetailAST rootAST)
Returns filtered set of
Violation. |
private java.util.SortedSet<Violation> |
Checker.processFile(java.io.File file)
Processes a file with all FileSetChecks.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Checker.fireErrors(java.lang.String fileName,
java.util.SortedSet<Violation> errors)
Notify all listeners about the errors in a file.
|
| Constructor and Description |
|---|
TreeWalkerAuditEvent(FileContents fileContents,
java.lang.String fileName,
Violation violation,
DetailAST rootAst)
Creates a new
TreeWalkerAuditEvent instance. |
| Modifier and Type | Field and Description |
|---|---|
private Violation |
AuditEvent.violation
Violation associated with the event.
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.SortedSet<Violation> |
AbstractCheck.FileContext.violations
The sorted set for collecting violations.
|
private java.util.SortedSet<Violation> |
AbstractFileSetCheck.FileContext.violations
The sorted set for collecting violations.
|
| Modifier and Type | Method and Description |
|---|---|
Violation |
AuditEvent.getViolation()
Gets the violation.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.SortedSet<Violation> |
AbstractCheck.getViolations()
Returns the sorted set of
Violation. |
java.util.SortedSet<Violation> |
AbstractFileSetCheck.getViolations()
Returns the sorted set of
Violation. |
java.util.SortedSet<Violation> |
FileSetCheck.process(java.io.File file,
FileText fileText)
Request to process a file.
|
java.util.SortedSet<Violation> |
AbstractFileSetCheck.process(java.io.File file,
FileText fileText) |
| Modifier and Type | Method and Description |
|---|---|
int |
Violation.compareTo(Violation other) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractFileSetCheck.addViolations(java.util.SortedSet<Violation> violations)
Adds the sorted set of
Violation to the message collector. |
void |
MessageDispatcher.fireErrors(java.lang.String fileName,
java.util.SortedSet<Violation> errors)
Notify all listeners about the violations in a file.
|
| Constructor and Description |
|---|
AuditEvent(java.lang.Object src,
java.lang.String fileName,
Violation violation)
Creates a new
AuditEvent instance. |
Copyright © 2001-2022. All Rights Reserved.