Uses of Enum Class
com.puppycrawl.tools.checkstyle.checks.LineEndingOption
Packages that use LineEndingOption
Package
Description
Contains the checks that are bundled with the main distribution.
-
Uses of LineEndingOption in com.puppycrawl.tools.checkstyle.checks
Fields in com.puppycrawl.tools.checkstyle.checks declared as LineEndingOptionModifier and TypeFieldDescriptionprivate LineEndingOptionLineEndingCheck.lineEndingDefault line ending LF.Methods in com.puppycrawl.tools.checkstyle.checks that return LineEndingOptionModifier and TypeMethodDescriptionstatic LineEndingOptionReturns the enum constant of this class with the specified name.static LineEndingOption[]LineEndingOption.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.puppycrawl.tools.checkstyle.checks with parameters of type LineEndingOptionModifier and TypeMethodDescriptionprivate voidLineEndingCheck.checkLineEndings(LineEndingOption expected, byte... content) Checks that the file content uses the configured line ending and logs a violation for each line that does not match.private voidLineEndingCheck.logIncorrectLineEnding(int line, LineEndingOption wrongLineEnding) Logs an incorrect line ending detected at the given line.