Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_NAME
Stores the attribute name of this attribute
|
Constructor and Description |
---|
CRTable(byte[] data)
Creates a new instance of CRTable.
|
Modifier and Type | Method and Description |
---|---|
Range |
getSourceInfo(int pc)
Returns the source positions for the given index in the code array of the
code attribute.
|
protected void |
readData(DataInputStream in)
Reads the attribute data from the input stream.
|
String |
toString() |
public static final String ATTRIBUTE_NAME
public CRTable(byte[] data) throws IOException
data
- the byte array containing the attributeIOException
- An IOException is thrown if the attribute can't be read.protected final void readData(DataInputStream in) throws IOException
in
- the input streamIOException
- if the input stream cannot be read.public final Range getSourceInfo(int pc)
pc
- the index in the code array of the code attribute