public class DefaultObjectVisitor extends java.lang.Object implements ObjectVisitor
Constructor and Description |
---|
DefaultObjectVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
doArray(FieldIdentifier f,
Address val)
Primitive field or object of array type.
|
void |
doBit(FieldIdentifier f,
long val)
Primitive field or object of integer bitfield
type.
|
void |
doCompound(FieldIdentifier f,
Address addressOfEmbeddedCompoundObject)
Identifies embedded objects in compound objects.
|
void |
doDouble(FieldIdentifier f,
double val)
Primitive field or object of double-precision floating-point
type.
|
void |
doEnum(FieldIdentifier f,
long val,
java.lang.String enumName)
Primitive field or object of enumerated type type.
|
void |
doFloat(FieldIdentifier f,
float val)
Primitive field or object of single-precision floating-point
type.
|
void |
doInt(FieldIdentifier f,
long val)
Primitive field or object of integer type.
|
void |
doPointer(FieldIdentifier f,
Address val)
Primitive field or object of pointer type.
|
void |
doRef(FieldIdentifier f,
Address val)
Primitive field or object of (C++) reference
type.
|
void |
enterType(Type type,
Address objectAddress)
This is called before beginning iterating through either the
fields declared in this compound type (not its superclasses) or
the elements of this array
|
void |
exitType()
This is called after finishing iterating through this compound
type
|
public void enterType(Type type, Address objectAddress)
ObjectVisitor
enterType
in interface ObjectVisitor
public void exitType()
ObjectVisitor
exitType
in interface ObjectVisitor
public void doBit(FieldIdentifier f, long val)
ObjectVisitor
doBit
in interface ObjectVisitor
public void doInt(FieldIdentifier f, long val)
ObjectVisitor
doInt
in interface ObjectVisitor
public void doEnum(FieldIdentifier f, long val, java.lang.String enumName)
ObjectVisitor
doEnum
in interface ObjectVisitor
public void doFloat(FieldIdentifier f, float val)
ObjectVisitor
doFloat
in interface ObjectVisitor
public void doDouble(FieldIdentifier f, double val)
ObjectVisitor
doDouble
in interface ObjectVisitor
public void doPointer(FieldIdentifier f, Address val)
ObjectVisitor
doPointer
in interface ObjectVisitor
public void doArray(FieldIdentifier f, Address val)
ObjectVisitor
doArray
in interface ObjectVisitor
public void doRef(FieldIdentifier f, Address val)
ObjectVisitor
doRef
in interface ObjectVisitor
public void doCompound(FieldIdentifier f, Address addressOfEmbeddedCompoundObject)
ObjectVisitor
doCompound
in interface ObjectVisitor
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.