Interface ILineNumberAttribute
- All Superinterfaces:
IClassFileAttribute
- All Known Implementing Classes:
LineNumberAttribute
Description of a line number attribute as described in the JVM specifications.
This interface may be implemented by clients.
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionint[][]Answer back the array of pairs (start pc, line number) as specified in the JVM specifications.intAnswer back the line number table length as specified in the JVM specifications.Methods inherited from interface IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndexModifier and TypeMethodDescriptionlongAnswer back the attribute length as specified in the JVM specifications.char[]Answer back the attribute name as specified in the JVM specifications.intAnswer back the attribute name index in the constant pool as specified in the JVM specifications.
-
Method Details
-
getLineNumberTableLength
int getLineNumberTableLength()Answer back the line number table length as specified in the JVM specifications.- Returns:
- the line number table length as specified in the JVM specifications
-
getLineNumberTable
int[][] getLineNumberTable()Answer back the array of pairs (start pc, line number) as specified in the JVM specifications. Answer an empty array if none.- Returns:
- the array of pairs (start pc, line number) as specified in the JVM specifications. Answer an empty array if none
-