Class LineNumberTable
java.lang.Object
de.inetsoftware.classparser.LineNumberTable
- Author:
- Volker Berlin
-
Method Summary
Modifier and TypeMethodDescriptionintGet the line number of the last code block.intgetLineNumber(int idx) Get the line numberintintintgetStartOffset(int idx) Get the offset of the codeintsize()Count of entries
-
Method Details
-
size
public int size()Count of entries- Returns:
- the count
-
getStartOffset
public int getStartOffset(int idx) Get the offset of the code- Parameters:
idx- the table position- Returns:
- the code offset
-
getLineNumber
public int getLineNumber(int idx) Get the line number- Parameters:
idx- the table position- Returns:
- the line number
-
getLastLineNr
public int getLastLineNr()Get the line number of the last code block.- Returns:
- the line number
-
getMinLineNr
public int getMinLineNr() -
getMaxLineNr
public int getMaxLineNr()
-