Uses of Class
com.puppycrawl.tools.checkstyle.api.Violation
-
Packages that use Violation 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. -
-
Uses of Violation in com.puppycrawl.tools.checkstyle
Fields in com.puppycrawl.tools.checkstyle declared as Violation Modifier and Type Field Description private ViolationTreeWalkerAuditEvent. violationViolation associated with the event.Fields in com.puppycrawl.tools.checkstyle with type parameters of type Violation Modifier and Type Field Description private static java.util.Map<Violation,java.lang.String>XpathFileGeneratorAstFilter. MESSAGE_QUERY_MAPMap fromViolationobjects to xpath queries.private java.util.SortedSet<Violation>TreeWalker. violationsThe sorted set of violations.Methods in com.puppycrawl.tools.checkstyle that return Violation Modifier and Type Method Description ViolationTreeWalkerAuditEvent. getViolation()Gets the violation.Methods in com.puppycrawl.tools.checkstyle that return types with arguments of type Violation Modifier and Type Method Description private java.util.SortedSet<Violation>TreeWalker. getFilteredViolations(java.lang.String fileName, FileContents fileContents, DetailAST rootAST)Returns filtered set ofViolation.private java.util.SortedSet<Violation>Checker. processFile(java.io.File file)Processes a file with all FileSetChecks.Method parameters in com.puppycrawl.tools.checkstyle with type arguments of type Violation Modifier and Type Method Description voidChecker. fireErrors(java.lang.String fileName, java.util.SortedSet<Violation> errors)Notify all listeners about the errors in a file.Constructors in com.puppycrawl.tools.checkstyle with parameters of type Violation Constructor Description TreeWalkerAuditEvent(FileContents fileContents, java.lang.String fileName, Violation violation, DetailAST rootAst)Creates a newTreeWalkerAuditEventinstance. -
Uses of Violation in com.puppycrawl.tools.checkstyle.api
Fields in com.puppycrawl.tools.checkstyle.api declared as Violation Modifier and Type Field Description private ViolationAuditEvent. violationViolation associated with the event.Fields in com.puppycrawl.tools.checkstyle.api with type parameters of type Violation Modifier and Type Field Description private java.util.SortedSet<Violation>AbstractCheck.FileContext. violationsThe sorted set for collecting violations.private java.util.SortedSet<Violation>AbstractFileSetCheck.FileContext. violationsThe sorted set for collecting violations.Methods in com.puppycrawl.tools.checkstyle.api that return Violation Modifier and Type Method Description ViolationAuditEvent. getViolation()Gets the violation.Methods in com.puppycrawl.tools.checkstyle.api that return types with arguments of type Violation Modifier and Type Method Description java.util.SortedSet<Violation>AbstractCheck. getViolations()Returns the sorted set ofViolation.java.util.SortedSet<Violation>AbstractFileSetCheck. getViolations()Returns the sorted set ofViolation.java.util.SortedSet<Violation>AbstractFileSetCheck. process(java.io.File file, FileText fileText)java.util.SortedSet<Violation>FileSetCheck. process(java.io.File file, FileText fileText)Request to process a file.Methods in com.puppycrawl.tools.checkstyle.api with parameters of type Violation Modifier and Type Method Description intViolation. compareTo(Violation other)Method parameters in com.puppycrawl.tools.checkstyle.api with type arguments of type Violation Modifier and Type Method Description protected voidAbstractFileSetCheck. addViolations(java.util.SortedSet<Violation> violations)Adds the sorted set ofViolationto the message collector.voidMessageDispatcher. fireErrors(java.lang.String fileName, java.util.SortedSet<Violation> errors)Notify all listeners about the violations in a file.Constructors in com.puppycrawl.tools.checkstyle.api with parameters of type Violation Constructor Description AuditEvent(java.lang.Object src, java.lang.String fileName, Violation violation)Creates a newAuditEventinstance.
-