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

public Class BasicField

extends Object
implements Field
Class Inheritance
All Implemented Interfaces
sun.jvm.hotspot.debugger.cdbg.Field
Imports
sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.debugger.cdbg.*

Field Summary

Modifier and TypeField and Description
private int
private Address
private boolean
private String
private long
private Type

Constructor Summary

AccessConstructor and Description
public
BasicField(String name, Type type, int accessControl, boolean isStatic)

See sun.jvm.hotspot.debugger.cdbg.AccessControl for valid access control values

Method Summary

Modifier and TypeMethod and Description
public int
public Address
getAddress()

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

Static fields only: get address of field

public String
public long
getOffset()

Implements sun.jvm.hotspot.debugger.cdbg.Field.getOffset.

Nonstatic fields only: get offset of field

public Type
public boolean
isStatic()

Implements sun.jvm.hotspot.debugger.cdbg.Field.isStatic.

Indicates whether this field is static

public void
public void
setAddress(Address address)

Static fields only: set address of field.

public void
setOffset(long offset)

Nonstatic fields only: set offset of field

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

accessControlback to summary
private int accessControl
addressback to summary
private Address address
isStaticback to summary
private boolean isStatic
nameback to summary
private String name
offsetback to summary
private long offset
typeback to summary
private Type type

Constructor Detail

BasicFieldback to summary
public BasicField(String name, Type type, int accessControl, boolean isStatic)

See sun.jvm.hotspot.debugger.cdbg.AccessControl for valid access control values

Method Detail

getAccessControlback to summary
public int getAccessControl()

Implements sun.jvm.hotspot.debugger.cdbg.Field.getAccessControl.

Doc from sun.jvm.hotspot.debugger.cdbg.Field.getAccessControl.

See sun.jvm.hotspot.debugger.cdbg.AccessControl

getAddressback to summary
public Address getAddress()

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

Static fields only: get address of field

getNameback to summary
public String getName()

Implements sun.jvm.hotspot.debugger.cdbg.Field.getName.

getOffsetback to summary
public long getOffset()

Implements sun.jvm.hotspot.debugger.cdbg.Field.getOffset.

Nonstatic fields only: get offset of field

getTypeback to summary
public Type getType()

Implements sun.jvm.hotspot.debugger.cdbg.Field.getType.

isStaticback to summary
public boolean isStatic()

Implements sun.jvm.hotspot.debugger.cdbg.Field.isStatic.

Doc from sun.jvm.hotspot.debugger.cdbg.Field.isStatic.

Indicates whether this field is static

resolveTypesback to summary
public void resolveTypes(Type containingType, BasicCDebugInfoDataBase db, ResolveListener listener)
setAddressback to summary
public void setAddress(Address address)

Static fields only: set address of field. The resolution mechanism will automatically attempt to find the address of the field based on a "class name"::"field name" global symbol lookup in the database if the address has not been set.

setOffsetback to summary
public void setOffset(long offset)

Nonstatic fields only: set offset of field