APIdia Launch Partner
Top Description Constructors Methods
sun.jvm.hotspot.runtime

public abstract Class InstanceConstructor<T>

extends Object
Class Inheritance
Known Direct Subclasses
sun.jvm.hotspot.runtime.VirtualBaseConstructor, sun.jvm.hotspot.runtime.VirtualConstructor, sun.jvm.hotspot.runtime.StaticBaseConstructor
Imports
java.util.*, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.debugger.cdbg.CDebugger, .ClosestSymbol, .LoadObject, sun.jvm.hotspot.types.*, sun.jvm.hotspot.HotSpotTypeDataBase

Given a pointer to some memory return an appropriate wrapper. Various subclasses provide different mechanisms for identifying the appropriate wrapper.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract T
instantiateWrapperFor(Address addr)

Instantiate the most-precisely typed wrapper object available for the type of the given Address.

protected WrongTypeException
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

InstanceConstructorback to summary
public InstanceConstructor()

Method Detail

instantiateWrapperForback to summary
public abstract T instantiateWrapperFor(Address addr) throws WrongTypeException

Instantiate the most-precisely typed wrapper object available for the type of the given Address. If no type in the mapping matched the type of the Address, throws a WrongTypeException. Returns null for a null address (similar behavior to VMObjectFactory).

newWrongTypeExceptionback to summary
protected WrongTypeException newWrongTypeException(Address addr)