APIdia Launch Partner
Top Fields Constructors Methods
sun.jvm.hotspot.debugger.cdbg.basic

public Class BasicBlockSym

extends BasicSym
implements BlockSym
Class Inheritance
All Implemented Interfaces
sun.jvm.hotspot.debugger.cdbg.BlockSym, sun.jvm.hotspot.debugger.cdbg.Sym
Known Direct Subclasses
sun.jvm.hotspot.debugger.cdbg.basic.BasicFunctionSym
Imports
java.util.*, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.debugger.cdbg.*

Field Summary

Modifier and TypeField and Description
private Address
private long
private List<LocalSym>
private BlockSym

Constructor Summary

AccessConstructor and Description
public
BasicBlockSym(BlockSym parent, long length, Address addr, String name)

Creates a new BlockSym.

Method Summary

Modifier and TypeMethod and Description
public void
public BlockSym
public Address
getAddress()

Implements sun.jvm.hotspot.debugger.cdbg.BlockSym.getAddress.

Address of the first machine instruction in this block

public long
getLength()

Implements sun.jvm.hotspot.debugger.cdbg.BlockSym.getLength.

Length in bytes of the machine code in this block

public LocalSym
getLocal(int i)

Implements sun.jvm.hotspot.debugger.cdbg.BlockSym.getLocal.

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

public int
getNumLocals()

Implements sun.jvm.hotspot.debugger.cdbg.BlockSym.getNumLocals.

Number of local variable symbols associated with this block

public BlockSym
getParent()

Implements sun.jvm.hotspot.debugger.cdbg.BlockSym.getParent.

Get the lexically enclosing block, or null if none

public void
resolve(BasicCDebugInfoDataBase db, ResolveListener listener)

Implements abstract sun.jvm.hotspot.debugger.cdbg.basic.BasicSym.resolve.

Resolve type and symbol references in this symbol

Inherited from sun.jvm.hotspot.debugger.cdbg.basic.BasicSym:
asFunctionasGlobalasLocalgetNameisBlockisFunctionisGlobalisLazyisLocaltoString

Field Detail

addrback to summary
private Address addr
lengthback to summary
private long length
localsback to summary
private List<LocalSym> locals
parentback to summary
private BlockSym parent

Constructor Detail

BasicBlockSymback to summary
public BasicBlockSym(BlockSym parent, long length, Address addr, String name)

Creates a new BlockSym. Parent can be null.

Method Detail

addLocalback to summary
public void addLocal(LocalSym local)
asBlockback to summary
public BlockSym asBlock()

Overrides sun.jvm.hotspot.debugger.cdbg.basic.BasicSym.asBlock.

Implements sun.jvm.hotspot.debugger.cdbg.Sym.asBlock.

getAddressback to summary
public Address getAddress()

Implements sun.jvm.hotspot.debugger.cdbg.BlockSym.getAddress.

Doc from sun.jvm.hotspot.debugger.cdbg.BlockSym.getAddress.

Address of the first machine instruction in this block

getLengthback to summary
public long getLength()

Implements sun.jvm.hotspot.debugger.cdbg.BlockSym.getLength.

Doc from sun.jvm.hotspot.debugger.cdbg.BlockSym.getLength.

Length in bytes of the machine code in this block

getLocalback to summary
public LocalSym getLocal(int i)

Implements sun.jvm.hotspot.debugger.cdbg.BlockSym.getLocal.

Doc from sun.jvm.hotspot.debugger.cdbg.BlockSym.getLocal.

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

getNumLocalsback to summary
public int getNumLocals()

Implements sun.jvm.hotspot.debugger.cdbg.BlockSym.getNumLocals.

Doc from sun.jvm.hotspot.debugger.cdbg.BlockSym.getNumLocals.

Number of local variable symbols associated with this block

getParentback to summary
public BlockSym getParent()

Implements sun.jvm.hotspot.debugger.cdbg.BlockSym.getParent.

Doc from sun.jvm.hotspot.debugger.cdbg.BlockSym.getParent.

Get the lexically enclosing block, or null if none

resolveback to summary
public void resolve(BasicCDebugInfoDataBase db, ResolveListener listener)

Implements abstract sun.jvm.hotspot.debugger.cdbg.basic.BasicSym.resolve.

Doc from sun.jvm.hotspot.debugger.cdbg.basic.BasicSym.resolve.

Resolve type and symbol references in this symbol