Package org.eolang.lints
Interface Lint<T>
- Type Parameters:
T
- The type of entity to analyze
- All Known Implementing Classes:
LtAsciiOnly
,LtTestNotVerb
,LtUnitTestMissing
public interface Lint<T>
A single checker for an
.xmir
file.- Since:
- 0.0.1
-
Method Summary
-
Method Details
-
defects
Find and return defects.- Parameters:
entity
- The entity to analyze (could beXML
orPath
)- Returns:
- Defects
- Throws:
IOException
-
motive
Returns motive for a lint, explaining why this lint exists.- Returns:
- Motive text about lint
- Throws:
Exception
- if something went wrong
-