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, wait
appendLocation, toLocation
public ClassfileBytecode(jdk.vm.ci.meta.ResolvedJavaMethod method, DataInputStream stream, org.graalvm.compiler.replacements.classfile.ClassfileConstantPool constantPool) throws IOException
IOException
public BytecodeProvider getOrigin()
Bytecode
BytecodeProvider
from which this object was acquired.public int getCodeSize()
getCodeSize
in interface Bytecode
public int getMaxLocals()
getMaxLocals
in interface Bytecode
public int getMaxStackSize()
getMaxStackSize
in interface Bytecode
public jdk.vm.ci.meta.ExceptionHandler[] getExceptionHandlers()
getExceptionHandlers
in interface Bytecode
public StackTraceElement asStackTraceElement(int bci)
asStackTraceElement
in interface Bytecode
public jdk.vm.ci.meta.ConstantPool getConstantPool()
getConstantPool
in interface Bytecode
public jdk.vm.ci.meta.LineNumberTable getLineNumberTable()
getLineNumberTable
in interface Bytecode
public jdk.vm.ci.meta.LocalVariableTable getLocalVariableTable()
getLocalVariableTable
in interface Bytecode
public jdk.vm.ci.meta.ResolvedJavaMethod getMethod()
Bytecode
public jdk.vm.ci.meta.ProfilingInfo getProfilingInfo()
getProfilingInfo
in interface Bytecode