public Finding extends Compactable, HasEntity, HasMetrics
Base interface of detection findings. Inherits a bunch of useful behaviour from sub interfaces.
Basic behaviour of a finding is that is can be assigned to an id and a source code position described as an entity. Metrics and entity references can also considered for deeper characterization.
Compactable.DefaultImplsHasEntity.DefaultImplsHasMetrics.DefaultImpls| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId() |
Issue |
getIssue() |
java.lang.String |
getMessage() |
java.util.List<io.gitlab.arturbosch.detekt.api.Entity> |
getReferences() |
java.lang.String |
messageOrDescription() |
compact, compactWithSignaturegetCharPosition, getEntity, getFile, getInClass, getLocation, getLocationAsString, getName, getSignature, getStartPositiongetMetrics, metricByTypejava.lang.String getId()
Issue getIssue()
java.util.List<io.gitlab.arturbosch.detekt.api.Entity> getReferences()
java.lang.String getMessage()
java.lang.String messageOrDescription()