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 TypeMethodDescriptionvoid
boolean
getPath()
getStep()
int
hashCode()
static String
relativizeAsUnix
(File root, File dest) Returns the relative path between root and dest, or null if dest is not a child of root.void
void
setShortCode
(String shortCode) void
boolean
suppresses
(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.
-