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 LintStateclean()Returns the DirtyState which corresponds toisClean().getLintsByStep(Formatter formatter) booleanisClean()booleanstatic LintStatestatic LintStatewithRemovedSuppressions(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().
-