public final class MethodPositions extends Object
| Modifier and Type | Field and Description |
|---|---|
static 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(DataInputStream in)
Reads the attribute data from the input stream.
|
String |
toString() |
public static final String ATTRIBUTE_NAME
public MethodPositions(byte[] data)
throws IOException
data - the byte array containing the attributeIOException - 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 getHeaderInfo()
public final Range getMethodInfo()
public final Range getFooterInfo()
Copyright © 2019. All rights reserved.