public final class MethodPositions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTRIBUTE_NAME
Stores the attribute name of this attribute
|
| Constructor and Description |
|---|
MethodPositions(byte[] data)
Creates a new instance of MethodPositions
|
| Modifier and Type | Method and Description |
|---|---|
Range |
getFooterInfo()
Returns the source position range of the end of the method block.
|
Range |
getHeaderInfo()
Returns the source position range of the method declaration.
|
Range |
getMethodInfo()
Returns the source position range of the method parameter declaration.
|
protected void |
readData(java.io.DataInputStream in)
Reads the attribute data from the input stream.
|
java.lang.String |
toString() |
public static final java.lang.String ATTRIBUTE_NAME
public MethodPositions(byte[] data)
throws java.io.IOException
data - the byte array containing the attributejava.io.IOException - if the attribute can't be read.protected final void readData(java.io.DataInputStream in)
throws java.io.IOException
in - the input streamjava.io.IOException - if the input stream cannot be read.public final Range getHeaderInfo()
public final Range getMethodInfo()
public final Range getFooterInfo()
public java.lang.String toString()
toString in class java.lang.Object