Class ClassWalker
java.lang.Object
com.ibm.j9ddr.vm29.tools.ddrinteractive.ClassWalker
- Direct Known Subclasses:
 RamClassWalker, RomClassWalker
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddObjectsasSlot(StructurePointer methodClass) protected voidaddObjectsAsSlot(StructurePointer methodClass, HashMap<String, String> renameFields) It walks through each field in this structure that is represented by methodClass and registers each field as a slot into ClassWalkerCallBack It uses the StructureDescriptor of J9DDR to get the FieldDescriptor of a structure.abstract voidallSlotsInObjectDo(IClassWalkCallbacks classWalker) Walks every slots in an object and send the values to the classWalkerprotected voidgetClazz()abstract Contextprotected StringgetDebugExtForMethodName(String methodName)  
- 
Field Details
- 
debugExtMap
 - 
clazz
 - 
classWalkerCallback
 
 - 
 - 
Constructor Details
- 
ClassWalker
public ClassWalker() 
 - 
 - 
Method Details
- 
allSlotsInObjectDo
public abstract void allSlotsInObjectDo(IClassWalkCallbacks classWalker) throws CorruptDataException Walks every slots in an object and send the values to the classWalker- Parameters:
 classWalker- a class that will receive the slot and sections of the object- Throws:
 CorruptDataException
 - 
getContext
 - 
fillDebugExtMap
protected void fillDebugExtMap() - 
getClazz
 - 
getClassWalkerCallbacks
 - 
getDebugExtForMethodName
 - 
addObjectsAsSlot
protected void addObjectsAsSlot(StructurePointer methodClass, HashMap<String, String> renameFields) throws CorruptDataExceptionIt walks through each field in this structure that is represented by methodClass and registers each field as a slot into ClassWalkerCallBack It uses the StructureDescriptor of J9DDR to get the FieldDescriptor of a structure. The name, type and address are found in the FieldDescriptor. The name, type and address are guaranteed to match the current core file, since they are taken from it.- Parameters:
 methodClass- pointer class that is generated for the VM structurerenameFields- list of names to rename the original field names in the structure- Throws:
 CorruptDataException
 - 
addObjectsasSlot
- Throws:
 CorruptDataException
 
 -