Class Violation
java.lang.Object
io.github.sergeloie.languagecheck.check.Violation
One disallowed character occurrence in a checked file.
Immutable. Carries the 1-based line the character was found on and
the offending Unicode code point. display() renders a
single-line human-readable form for report files.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Violation
public Violation(int line, int codePoint)
-
-
Method Details
-
line
public int line()1-based line number the violation occurred on. -
codePoint
public int codePoint()The offending Unicode code point. -
display
Human-readable form, e.g.U+041F 'П' (line 3). Control characters are rendered without the quoted glyph. -
equals
-
hashCode
public int hashCode() -
toString
-