Class IssueLocation.Line
- java.lang.Object
-
- org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.File
-
- org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.Line
-
- All Implemented Interfaces:
IssueLocation
- Direct Known Subclasses:
IssueLocation.Range
- Enclosing interface:
- IssueLocation
public static class IssueLocation.Line extends IssueLocation.File
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation
IssueLocation.File, IssueLocation.Line, IssueLocation.Range, IssueLocation.Type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLine()IssueLocation.TypegetType()-
Methods inherited from class org.sonarsource.analyzer.commons.checks.verifier.internal.IssueLocation.File
getSourcePath
-
-
-
-
Constructor Detail
-
Line
public Line(Path sourcePath, int lineNumber)
-
-
Method Detail
-
getLine
public int getLine()
-
getType
public IssueLocation.Type getType()
- Specified by:
getTypein interfaceIssueLocation- Overrides:
getTypein classIssueLocation.File
-
-