public class ClassfileBytecode extends Object implements Bytecode
| Constructor and Description |
|---|
ClassfileBytecode(ResolvedJavaMethod method,
DataInputStream stream,
org.graalvm.compiler.replacements.classfile.ClassfileConstantPool constantPool) |
| Modifier and Type | Method and Description |
|---|---|
StackTraceElement |
asStackTraceElement(int bci) |
byte[] |
getCode() |
int |
getCodeSize() |
ConstantPool |
getConstantPool() |
ExceptionHandler[] |
getExceptionHandlers() |
LineNumberTable |
getLineNumberTable() |
LocalVariableTable |
getLocalVariableTable() |
int |
getMaxLocals() |
int |
getMaxStackSize() |
ResolvedJavaMethod |
getMethod()
Gets the method this object supplies bytecode for.
|
BytecodeProvider |
getOrigin()
Gets the
BytecodeProvider from which this object was acquired. |
String |
toString() |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitappendLocation, toLocationpublic ClassfileBytecode(ResolvedJavaMethod method,
DataInputStream stream,
org.graalvm.compiler.replacements.classfile.ClassfileConstantPool constantPool)
throws IOException
IOExceptionpublic BytecodeProvider getOrigin()
BytecodeBytecodeProvider from which this object was acquired.public int getCodeSize()
getCodeSize in interface Bytecodepublic int getMaxLocals()
getMaxLocals in interface Bytecodepublic int getMaxStackSize()
getMaxStackSize in interface Bytecodepublic ExceptionHandler[] getExceptionHandlers()
getExceptionHandlers in interface Bytecodepublic StackTraceElement asStackTraceElement(int bci)
asStackTraceElement in interface Bytecodepublic ConstantPool getConstantPool()
getConstantPool in interface Bytecodepublic LineNumberTable getLineNumberTable()
getLineNumberTable in interface Bytecodepublic LocalVariableTable getLocalVariableTable()
getLocalVariableTable in interface Bytecodepublic ResolvedJavaMethod getMethod()
Bytecode