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

public Class BytecodeLoadConstant

extends Bytecode
Class Inheritance
Imports
sun.jvm.hotspot.oops.*, sun.jvm.hotspot.runtime.*, sun.jvm.hotspot.utilities.*

Field Summary

Inherited from sun.jvm.hotspot.interpreter.Bytecode:
bcicommajintSizemethodspaces

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static BytecodeLoadConstant
at(Method method, int bci)

public static BytecodeLoadConstant
public static BytecodeLoadConstant
atCheck(Method method, int bci)

Like at, but returns null if the BCI is not at ldc or ldc_w or ldc2_w

public int
private Oop
public String
public Object
public boolean
public boolean
public boolean
public int
pack-priv int
public BasicType
public String
toString()

Overrides sun.jvm.hotspot.interpreter.Bytecode.toString.

Returns a string representation of the object.

public void
Inherited from sun.jvm.hotspot.interpreter.Bytecode:
alignedOffsetbcican_use_native_byte_ordercodegetBytecodeNamegetIndexU1getIndexU1CpcachegetIndexU2getIndexU2CpcachegetIndexU4getJavaBytecodeNamegetJavaLengthgetLengthhasIndexU4javaByteAtjavaCodejavaShortAtjavaSignedWordAtmethod

Constructor Detail

BytecodeLoadConstantback to summary
pack-priv BytecodeLoadConstant(Method method, int bci)

Method Detail

atback to summary
public static BytecodeLoadConstant at(Method method, int bci)
atback to summary
public static BytecodeLoadConstant at(BytecodeStream bcs)
atCheckback to summary
public static BytecodeLoadConstant atCheck(Method method, int bci)

Like at, but returns null if the BCI is not at ldc or ldc_w or ldc2_w

cacheIndexback to summary
public int cacheIndex()
getCachedConstantback to summary
private Oop getCachedConstant()
getConstantValueback to summary
public String getConstantValue()
getKlassback to summary
public Object getKlass()
hasCacheIndexback to summary
public boolean hasCacheIndex()
isKlassConstantback to summary
public boolean isKlassConstant()
isValidback to summary
public boolean isValid()
poolIndexback to summary
public int poolIndex()
rawIndexback to summary
pack-priv int rawIndex()
resultTypeback to summary
public BasicType resultType()
toStringback to summary
public String toString()

Overrides sun.jvm.hotspot.interpreter.Bytecode.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.

verifyback to summary
public void verify()