Package com.diffplug.spotless
Class LintSuppression
java.lang.Object
com.diffplug.spotless.LintSuppression
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleangetPath()getStep()inthashCode()static StringrelativizeAsUnix(File root, File dest) Returns the relative path between root and dest, or null if dest is not a child of root.voidvoidsetShortCode(String shortCode) voidbooleansuppresses(String relativePath, FormatterStep formatterStep, Lint lint) toString()
-
Constructor Details
-
LintSuppression
public LintSuppression()
-
-
Method Details
-
getPath
-
setPath
-
getStep
-
setStep
-
getShortCode
-
setShortCode
-
suppresses
-
ensureDoesNotSuppressAll
public void ensureDoesNotSuppressAll() -
equals
-
hashCode
public int hashCode() -
toString
-
relativizeAsUnix
Returns the relative path between root and dest, or null if dest is not a child of root. Guaranteed to only have unix-separators.
-