|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.squawk.MethodMetadata
public class MethodMetadata
A MethodMetadata
instance represents all the information
about a method body that is not absolutely required for execution. This
includes the information found in the JVM LineNumberTable
class file attributes.
Method Summary | |
---|---|
static int |
binarySearch(MethodMetadata[] a,
int keyOffset)
Search through the array of MethodMetadata looking for the metadata for the method with vtable/stable index keyOffset. |
int[] |
getLineNumberTable()
Gets the table mapping instruction addresses to the source line numbers that start at the addresses. |
ScopedLocalVariable[] |
getLocalVariableTable()
Gets a table describing the scope, name and type of each local variable in the method. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final int[] getLineNumberTable()
public ScopedLocalVariable[] getLocalVariableTable()
public static int binarySearch(MethodMetadata[] a, int keyOffset)
a
- array of metadatakeyOffset
- the offset of the method in the static/virtual method table.
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |