APIdia Launch Partner
Top Fields Constructors Methods
sun.jvm.hotspot.interpreter

public Class Bytecode

extends Object
Class Inheritance
Known Direct Subclasses
sun.jvm.hotspot.interpreter.BytecodeBipush, sun.jvm.hotspot.interpreter.BytecodeJmp, sun.jvm.hotspot.interpreter.BytecodeLoadConstant, sun.jvm.hotspot.interpreter.BytecodeLookupswitch, sun.jvm.hotspot.interpreter.BytecodeNewArray, sun.jvm.hotspot.interpreter.BytecodeSipush, sun.jvm.hotspot.interpreter.BytecodeTableswitch, sun.jvm.hotspot.interpreter.BytecodeWideable, sun.jvm.hotspot.interpreter.BytecodeWithCPIndex, sun.jvm.hotspot.interpreter.LookupswitchPair
Imports
sun.jvm.hotspot.oops.*, sun.jvm.hotspot.utilities.*, sun.jvm.hotspot.runtime.VM

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv static final String
pack-priv static final int
pack-priv Method
pack-priv static final String

Constructor Summary

AccessConstructor and Description
pack-priv
Bytecode(Method method, int bci)

Method Summary

Modifier and TypeMethod and Description
pack-priv int
alignedOffset(int offset)

public int
bci()

pack-priv static boolean
can_use_native_byte_order(int bc, boolean is_wide)

public int
code()

public String
public int
public int
public int
getIndexU2(int bc, boolean isWide)

public int
public int
public String
public int
public int
public boolean
pack-priv byte
javaByteAt(int offset)

public int
pack-priv short
javaShortAt(int offset)

pack-priv int
javaSignedWordAt(int offset)

public Method
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

bciback to summary
pack-priv int bci
commaback to summary
pack-priv static final String comma
jintSizeback to summary
pack-priv static final int jintSize
methodback to summary
pack-priv Method method
spacesback to summary
pack-priv static final String spaces

Constructor Detail

Bytecodeback to summary
pack-priv Bytecode(Method method, int bci)

Method Detail

alignedOffsetback to summary
pack-priv int alignedOffset(int offset)
bciback to summary
public int bci()
can_use_native_byte_orderback to summary
pack-priv static boolean can_use_native_byte_order(int bc, boolean is_wide)
codeback to summary
public int code()
getBytecodeNameback to summary
public String getBytecodeName()
getIndexU1back to summary
public int getIndexU1()
getIndexU1Cpcacheback to summary
public int getIndexU1Cpcache()
getIndexU2back to summary
public int getIndexU2(int bc, boolean isWide)
getIndexU2Cpcacheback to summary
public int getIndexU2Cpcache()
getIndexU4back to summary
public int getIndexU4()
getJavaBytecodeNameback to summary
public String getJavaBytecodeName()
getJavaLengthback to summary
public int getJavaLength()
getLengthback to summary
public int getLength()
hasIndexU4back to summary
public boolean hasIndexU4()
javaByteAtback to summary
pack-priv byte javaByteAt(int offset)
javaCodeback to summary
public int javaCode()
javaShortAtback to summary
pack-priv short javaShortAt(int offset)
javaSignedWordAtback to summary
pack-priv int javaSignedWordAt(int offset)
methodback to summary
public Method method()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.