public class ClassfileBytecode extends Object implements Bytecode
| Constructor and Description |
|---|
ClassfileBytecode(jdk.vm.ci.meta.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() |
jdk.vm.ci.meta.ConstantPool |
getConstantPool() |
jdk.vm.ci.meta.ExceptionHandler[] |
getExceptionHandlers() |
jdk.vm.ci.meta.LineNumberTable |
getLineNumberTable() |
jdk.vm.ci.meta.LocalVariableTable |
getLocalVariableTable() |
int |
getMaxLocals() |
int |
getMaxStackSize() |
jdk.vm.ci.meta.ResolvedJavaMethod |
getMethod()
Gets the method this object supplies bytecode for.
|
BytecodeProvider |
getOrigin()
Gets the
BytecodeProvider from which this object was acquired. |
jdk.vm.ci.meta.ProfilingInfo |
getProfilingInfo() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendLocation, toLocationpublic ClassfileBytecode(jdk.vm.ci.meta.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 jdk.vm.ci.meta.ExceptionHandler[] getExceptionHandlers()
getExceptionHandlers in interface Bytecodepublic StackTraceElement asStackTraceElement(int bci)
asStackTraceElement in interface Bytecodepublic jdk.vm.ci.meta.ConstantPool getConstantPool()
getConstantPool in interface Bytecodepublic jdk.vm.ci.meta.LineNumberTable getLineNumberTable()
getLineNumberTable in interface Bytecodepublic jdk.vm.ci.meta.LocalVariableTable getLocalVariableTable()
getLocalVariableTable in interface Bytecodepublic jdk.vm.ci.meta.ResolvedJavaMethod getMethod()
Bytecodepublic jdk.vm.ci.meta.ProfilingInfo getProfilingInfo()
getProfilingInfo in interface Bytecode