Package com.diffplug.spotless
Class LintState
java.lang.Object
com.diffplug.spotless.LintState
-
Method Summary
Modifier and TypeMethodDescriptionasStringDetailed
(File file, Formatter formatter) asStringOneLine
(File file, Formatter formatter) static LintState
clean()
Returns the DirtyState which corresponds toisClean()
.getLintsByStep
(Formatter formatter) boolean
isClean()
boolean
static LintState
static LintState
withRemovedSuppressions
(Formatter formatter, String relativePath, List<LintSuppression> suppressions)
-
Method Details
-
getDirtyState
-
isHasLints
public boolean isHasLints() -
isClean
public boolean isClean() -
getLintsByStep
-
withRemovedSuppressions
public LintState withRemovedSuppressions(Formatter formatter, String relativePath, List<LintSuppression> suppressions) -
asStringDetailed
-
asStringOneLine
-
of
- Throws:
IOException
-
of
-
clean
Returns the DirtyState which corresponds toisClean()
.
-