public class VirtualBaseConstructor<T> extends InstanceConstructor
Constructor and Description |
---|
VirtualBaseConstructor(TypeDataBase db,
Type baseType,
java.lang.String packageName,
java.lang.Class unknownTypeHandler) |
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.
|
T |
instantiateWrapperFor(Address addr)
Instantiate the most-precisely typed wrapper object available
for the type of the given Address.
|
newWrongTypeException
public VirtualBaseConstructor(TypeDataBase db, Type baseType, java.lang.String packageName, java.lang.Class unknownTypeHandler)
public boolean addMapping(java.lang.String cTypeName, java.lang.Class clazz)
public T instantiateWrapperFor(Address addr) throws WrongTypeException
instantiateWrapperFor
in class InstanceConstructor
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.