Class DecompileResult.MemberSpan
- java.lang.Object
-
- com.tonic.analysis.source.decompile.DecompileResult.MemberSpan
-
- Direct Known Subclasses:
DecompileResult.MethodSpan
- Enclosing class:
- DecompileResult
public static class DecompileResult.MemberSpan extends Object
The 1-based first/last line of a member's full text in the decompiled source - annotations and signature through the closing brace.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(int line)Checks whether a source line falls within this span.intgetEndLine()intgetStartLine()
-
-
-
Method Detail
-
getStartLine
public int getStartLine()
- Returns:
- the start line
-
getEndLine
public int getEndLine()
- Returns:
- the end line
-
contains
public boolean contains(int line)
Checks whether a source line falls within this span.- Parameters:
line- the 1-based line number- Returns:
- true if the line lies within the span, inclusive
-
-