APIdia Launch Partner
Top Description Methods
sun.jvm.hotspot.debugger.cdbg

public Interface BlockSym

extends Sym
Known Direct Subinterfaces
sun.jvm.hotspot.debugger.cdbg.FunctionSym
Known Direct Implementers
sun.jvm.hotspot.debugger.cdbg.basic.BasicBlockSym, sun.jvm.hotspot.debugger.cdbg.basic.LazyBlockSym
Imports
sun.jvm.hotspot.debugger.*

A BlockSym models a lexical scope in a block-structured language. It is (currently) the bottommost scope type.

Method Summary

Modifier and TypeMethod and Description
public Address
getAddress()

Address of the first machine instruction in this block

public long
getLength()

Length in bytes of the machine code in this block

public LocalSym
getLocal(int i)

Return ith local (0..getNumLocals() - 1)

public String
getName()

Redeclares sun.jvm.hotspot.debugger.cdbg.Sym.getName.

Name of this block, or null if none

public int
getNumLocals()

Number of local variable symbols associated with this block

public BlockSym
getParent()

Get the lexically enclosing block, or null if none

Inherited from sun.jvm.hotspot.debugger.cdbg.Sym:
asBlockasFunctionasGlobalasLocalisBlockisFunctionisGlobalisLocaltoString

Method Detail

getAddressback to summary
public Address getAddress()

Address of the first machine instruction in this block

getLengthback to summary
public long getLength()

Length in bytes of the machine code in this block

getLocalback to summary
public LocalSym getLocal(int i)

Return ith local (0..getNumLocals() - 1)

getNameback to summary
public String getName()

Redeclares sun.jvm.hotspot.debugger.cdbg.Sym.getName.

Name of this block, or null if none

getNumLocalsback to summary
public int getNumLocals()

Number of local variable symbols associated with this block

getParentback to summary
public BlockSym getParent()

Get the lexically enclosing block, or null if none