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

public Class ConstMethod

extends Metadata
Class Inheritance
Imports
java.io.*, java.util.*, sun.jvm.hotspot.code.*, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.interpreter.*, sun.jvm.hotspot.memory.*, sun.jvm.hotspot.runtime.*, sun.jvm.hotspot.types.*, sun.jvm.hotspot.utilities.*, .Observable, .Observer

Field Summary

Modifier and TypeField and Description
private static long
private static long
private static CIntField
private static MetadataField
private static CIntField
private static long
private static CIntField
private static int
private static int
private static int
private static int
private static int
private static int
private static int
private static int
private static int
private static int
private static CIntField
private static long
private static CIntField
private static CIntField
private static long
private static CIntField
private static CIntField
private static CIntField
private static final int
private static AddressField

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private Address
getAddressAtOffset(long offsetInWords)

public byte[]
public byte
public int
getBytecodeIntArg(int bci)

Fetches a 32-bit big-endian ("Java ordered") value from the bytecode stream

public int
getBytecodeOrBPAt(int bci)

Get a bytecode or breakpoint at the given bci

public short
getBytecodeShortArg(int bci)

Fetches a 16-bit big-endian ("Java ordered") value from the bytecode stream

public CheckedExceptionElement[]
private int
public long
public ConstantPool
public long
public U1Array
private int
public ExceptionTableElement[]
private int
public long
public Symbol
public long
public long
public int
public LineNumberTableElement[]
private int
public Symbol
getLocalVariableName(int bci, int slot)

public LocalVariableTableElement[]
getLocalVariableTable()

Should only be called if table is present

private int
public long
public long
public Method
public U1Array
private int
private int
public Symbol
public long
public int
getNativeIntArg(int bci)

Fetches a 32-bit native ordered value from the bytecode stream

public short
getNativeShortArg(int bci)

Fetches a 16-bit native ordered value from the bytecode stream

public U1Array
private int
public Symbol
public long
public long
public long
public U1Array
public U1Array
private int
public boolean
private boolean
public boolean
private boolean
public boolean
public boolean
private boolean
private boolean
private boolean
public boolean
private boolean
private static synchronized void
public boolean
isAddressInMethod(Address bcp)

See if address is in the Method's bytecodes

private boolean
public void
private long
private long
private long
private long
private long
private long
private long
private long
private long
private long
private long
private long
public void
Inherited from sun.jvm.hotspot.oops.Metadata:
alignSizeinstantiateWrapperForisSharediterate

Field Detail

bytecodeOffsetback to summary
private static long bytecodeOffset
checkedExceptionElementSizeback to summary
private static long checkedExceptionElementSize
codeSizeback to summary
private static CIntField codeSize
constantsback to summary
private static MetadataField constants
constMethodSizeback to summary
private static CIntField constMethodSize
exceptionTableElementSizeback to summary
private static long exceptionTableElementSize
flagsback to summary
private static CIntField flags
HAS_CHECKED_EXCEPTIONSback to summary
private static int HAS_CHECKED_EXCEPTIONS
HAS_DEFAULT_ANNOTATIONSback to summary
private static int HAS_DEFAULT_ANNOTATIONS
HAS_EXCEPTION_TABLEback to summary
private static int HAS_EXCEPTION_TABLE
HAS_GENERIC_SIGNATUREback to summary
private static int HAS_GENERIC_SIGNATURE
HAS_LINENUMBER_TABLEback to summary
private static int HAS_LINENUMBER_TABLE
HAS_LOCALVARIABLE_TABLEback to summary
private static int HAS_LOCALVARIABLE_TABLE
HAS_METHOD_ANNOTATIONSback to summary
private static int HAS_METHOD_ANNOTATIONS
HAS_METHOD_PARAMETERSback to summary
private static int HAS_METHOD_PARAMETERS
HAS_PARAMETER_ANNOTATIONSback to summary
private static int HAS_PARAMETER_ANNOTATIONS
HAS_TYPE_ANNOTATIONSback to summary
private static int HAS_TYPE_ANNOTATIONS
idnumback to summary
private static CIntField idnum
localVariableTableElementSizeback to summary
private static long localVariableTableElementSize
maxLocalsback to summary
private static CIntField maxLocals
maxStackback to summary
private static CIntField maxStack
methodParametersElementSizeback to summary
private static long methodParametersElementSize
nameIndexback to summary
private static CIntField nameIndex
signatureIndexback to summary
private static CIntField signatureIndex
sizeOfParametersback to summary
private static CIntField sizeOfParameters
sizeofShortback to summary
private static final int sizeofShort
stackMapDataback to summary
private static AddressField stackMapData

Constructor Detail

ConstMethodback to summary
public ConstMethod(Address addr)

Method Detail

getAddressAtOffsetback to summary
private Address getAddressAtOffset(long offsetInWords)
getByteCodeback to summary
public byte[] getByteCode()
getBytecodeByteArgback to summary
public byte getBytecodeByteArg(int bci)
getBytecodeIntArgback to summary
public int getBytecodeIntArg(int bci)

Fetches a 32-bit big-endian ("Java ordered") value from the bytecode stream

getBytecodeOrBPAtback to summary
public int getBytecodeOrBPAt(int bci)

Get a bytecode or breakpoint at the given bci

getBytecodeShortArgback to summary
public short getBytecodeShortArg(int bci)

Fetches a 16-bit big-endian ("Java ordered") value from the bytecode stream

getCheckedExceptionsback to summary
public CheckedExceptionElement[] getCheckedExceptions()
getCheckedExceptionsLengthback to summary
private int getCheckedExceptionsLength()
getCodeSizeback to summary
public long getCodeSize()
getConstantsback to summary
public ConstantPool getConstants()
getConstMethodSizeback to summary
public long getConstMethodSize()
getDefaultAnnotationsback to summary
public U1Array getDefaultAnnotations()
getDefaultAnnotationsOffsetback to summary
private int getDefaultAnnotationsOffset()
getExceptionTableback to summary
public ExceptionTableElement[] getExceptionTable()
getExceptionTableLengthback to summary
private int getExceptionTableLength()
getFlagsback to summary
public long getFlags()
getGenericSignatureback to summary
public Symbol getGenericSignature()
getGenericSignatureIndexback to summary
public long getGenericSignatureIndex()
getIdNumback to summary
public long getIdNum()
getLineNumberFromBCIback to summary
public int getLineNumberFromBCI(int bci)
getLineNumberTableback to summary
public LineNumberTableElement[] getLineNumberTable()
getLineNumberTableLengthback to summary
private int getLineNumberTableLength()
getLocalVariableNameback to summary
public Symbol getLocalVariableName(int bci, int slot)
getLocalVariableTableback to summary
public LocalVariableTableElement[] getLocalVariableTable()

Should only be called if table is present

getLocalVariableTableLengthback to summary
private int getLocalVariableTableLength()
getMaxLocalsback to summary
public long getMaxLocals()
getMaxStackback to summary
public long getMaxStack()
getMethodback to summary
public Method getMethod()
getMethodAnnotationsback to summary
public U1Array getMethodAnnotations()
getMethodAnnotationsOffsetback to summary
private int getMethodAnnotationsOffset()
getMethodParametersLengthback to summary
private int getMethodParametersLength()
getNameback to summary
public Symbol getName()
getNameIndexback to summary
public long getNameIndex()
getNativeIntArgback to summary
public int getNativeIntArg(int bci)

Fetches a 32-bit native ordered value from the bytecode stream

getNativeShortArgback to summary
public short getNativeShortArg(int bci)

Fetches a 16-bit native ordered value from the bytecode stream

getParameterAnnotationsback to summary
public U1Array getParameterAnnotations()
getParameterAnnotationsOffsetback to summary
private int getParameterAnnotationsOffset()
getSignatureback to summary
public Symbol getSignature()
getSignatureIndexback to summary
public long getSignatureIndex()
getSizeback to summary
public long getSize()
getSizeOfParametersback to summary
public long getSizeOfParameters()
getStackMapDataback to summary
public U1Array getStackMapData()
getTypeAnnotationsback to summary
public U1Array getTypeAnnotations()
getTypeAnnotationsOffsetback to summary
private int getTypeAnnotationsOffset()
hasCheckedExceptionsback to summary
public boolean hasCheckedExceptions()
hasDefaultAnnotationsback to summary
private boolean hasDefaultAnnotations()
hasExceptionTableback to summary
public boolean hasExceptionTable()
hasGenericSignatureback to summary
private boolean hasGenericSignature()
hasLineNumberTableback to summary
public boolean hasLineNumberTable()
hasLocalVariableTableback to summary
public boolean hasLocalVariableTable()
hasMethodAnnotationsback to summary
private boolean hasMethodAnnotations()
hasMethodParametersback to summary
private boolean hasMethodParameters()
hasParameterAnnotationsback to summary
private boolean hasParameterAnnotations()
hasStackMapTableback to summary
public boolean hasStackMapTable()
hasTypeAnnotationsback to summary
private boolean hasTypeAnnotations()
initializeback to summary
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException

Hides sun.jvm.hotspot.oops.Metadata.initialize.

isAddressInMethodback to summary
public boolean isAddressInMethod(Address bcp)

See if address is in the Method's bytecodes

isNativeback to summary
private boolean isNative()
iterateFieldsback to summary
public void iterateFields(MetadataVisitor visitor)

Overrides sun.jvm.hotspot.oops.Metadata.iterateFields.

offsetOfCheckedExceptionsback to summary
private long offsetOfCheckedExceptions()
offsetOfCheckedExceptionsLengthback to summary
private long offsetOfCheckedExceptionsLength()
offsetOfCodeEndback to summary
private long offsetOfCodeEnd()
offsetOfCompressedLineNumberTableback to summary
private long offsetOfCompressedLineNumberTable()
offsetOfExceptionTableback to summary
private long offsetOfExceptionTable()
offsetOfExceptionTableLengthback to summary
private long offsetOfExceptionTableLength()
offsetOfGenericSignatureIndexback to summary
private long offsetOfGenericSignatureIndex()
offsetOfLastU2Elementback to summary
private long offsetOfLastU2Element()
offsetOfLocalVariableTableback to summary
private long offsetOfLocalVariableTable()
offsetOfLocalVariableTableLengthback to summary
private long offsetOfLocalVariableTableLength()
offsetOfMethodParametersback to summary
private long offsetOfMethodParameters()
offsetOfMethodParametersLengthback to summary
private long offsetOfMethodParametersLength()
printValueOnback to summary
public void printValueOn(PrintStream tty)

Implements abstract sun.jvm.hotspot.oops.Metadata.printValueOn.