Class MethodPositions
java.lang.Object
com.ibm.wala.shrike.sourcepos.MethodPositions
This class represents the MethodPositions attribute.
- Author:
- Siegfried Weber, Juergen Graf <juergen.graf@gmail.com>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the source position range of the end of the method block.Returns the source position range of the method declaration.Returns the source position range of the method parameter declaration.protected void
Reads the attribute data from the input stream.toString()
-
Field Details
-
ATTRIBUTE_NAME
-
-
Constructor Details
-
MethodPositions
Creates a new instance of MethodPositions- Parameters:
data
- the byte array containing the attribute- Throws:
IOException
- if the attribute can't be read.
-
-
Method Details
-
readData
Reads the attribute data from the input stream.- Parameters:
in
- the input stream- Throws:
IOException
- if the input stream cannot be read.
-
getHeaderInfo
Returns the source position range of the method declaration.- Returns:
- the source position range of the method declaration
-
getMethodInfo
Returns the source position range of the method parameter declaration.- Returns:
- the source position range of the method parameter declaration
-
toString
-