public class VirtualConstructor extends InstanceConstructor<VMObject>
Constructor and Description |
---|
VirtualConstructor(TypeDataBase db) |
Modifier and Type | Method and Description |
---|---|
boolean |
addMapping(java.lang.String cTypeName,
java.lang.Class clazz)
Adds a mapping from the given C++ type name to the given Java
class.
|
VMObject |
instantiateWrapperFor(Address addr)
Instantiate the most-precisely typed wrapper object available
for the type of the given Address.
|
newWrongTypeException
public VirtualConstructor(TypeDataBase db)
public boolean addMapping(java.lang.String cTypeName, java.lang.Class clazz)
public VMObject instantiateWrapperFor(Address addr) throws WrongTypeException
instantiateWrapperFor
in class InstanceConstructor<VMObject>
WrongTypeException
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.