public class ConstMethod extends VMObject
Constructor and Description |
---|
ConstMethod(Address addr) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getByteCode() |
byte |
getBytecodeByteArg(int bci) |
int |
getBytecodeIntArg(int bci)
Fetches a 32-bit big-endian ("Java ordered") value from the
bytecode stream
|
int |
getBytecodeOrBPAt(int bci)
Get a bytecode or breakpoint at the given bci
|
short |
getBytecodeShortArg(int bci)
Fetches a 16-bit big-endian ("Java ordered") value from the
bytecode stream
|
CheckedExceptionElement[] |
getCheckedExceptions() |
long |
getCodeSize() |
ConstantPool |
getConstants() |
long |
getConstMethodSize() |
ExceptionTableElement[] |
getExceptionTable() |
long |
getFlags() |
Symbol |
getGenericSignature() |
long |
getGenericSignatureIndex() |
long |
getIdNum() |
int |
getLineNumberFromBCI(int bci) |
LineNumberTableElement[] |
getLineNumberTable() |
Symbol |
getLocalVariableName(int bci,
int slot) |
LocalVariableTableElement[] |
getLocalVariableTable()
Should only be called if table is present
|
long |
getMaxLocals() |
long |
getMaxStack() |
Method |
getMethod() |
Symbol |
getName() |
long |
getNameIndex() |
int |
getNativeIntArg(int bci)
Fetches a 32-bit native ordered value from the
bytecode stream
|
short |
getNativeShortArg(int bci)
Fetches a 16-bit native ordered value from the
bytecode stream
|
Symbol |
getSignature() |
long |
getSignatureIndex() |
long |
getSize() |
long |
getSizeOfParameters() |
boolean |
hasCheckedExceptions() |
boolean |
hasExceptionTable() |
boolean |
hasLineNumberTable() |
boolean |
hasLocalVariableTable() |
void |
iterateFields(MetadataVisitor visitor) |
void |
printValueOn(java.io.PrintStream tty) |
equals, getAddress, hashCode, toString
public ConstMethod(Address addr)
public Method getMethod()
public ConstantPool getConstants()
public long getConstMethodSize()
public long getFlags()
public long getCodeSize()
public long getNameIndex()
public long getSignatureIndex()
public long getGenericSignatureIndex()
public long getIdNum()
public long getMaxStack()
public long getMaxLocals()
public long getSizeOfParameters()
public Symbol getName()
public Symbol getSignature()
public Symbol getGenericSignature()
public int getBytecodeOrBPAt(int bci)
public byte getBytecodeByteArg(int bci)
public short getBytecodeShortArg(int bci)
public short getNativeShortArg(int bci)
public int getBytecodeIntArg(int bci)
public int getNativeIntArg(int bci)
public byte[] getByteCode()
public long getSize()
public void printValueOn(java.io.PrintStream tty)
public void iterateFields(MetadataVisitor visitor)
public boolean hasLineNumberTable()
public int getLineNumberFromBCI(int bci)
public LineNumberTableElement[] getLineNumberTable()
public boolean hasLocalVariableTable()
public Symbol getLocalVariableName(int bci, int slot)
public LocalVariableTableElement[] getLocalVariableTable()
public boolean hasExceptionTable()
public ExceptionTableElement[] getExceptionTable()
public boolean hasCheckedExceptions()
public CheckedExceptionElement[] getCheckedExceptions()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.