com.ibm.dtfj.analyzer.helpers.objectwrapper
Class LookupObjectByAddress

java.lang.Object
  extended by TranslatableAnalyzer
      extended by com.ibm.dtfj.analyzer.base.SimpleAnalyzerBean
          extended by com.ibm.dtfj.analyzer.helpers.ValueWrapper
              extended by com.ibm.dtfj.analyzer.helpers.objectwrapper.ObjectWrapper
                  extended by com.ibm.dtfj.analyzer.helpers.objectwrapper.LookupObjectByAddress
All Implemented Interfaces:
IAnalyzerBase, IReport, IWrapper

public class LookupObjectByAddress
extends ObjectWrapper

Find the object or other JVM entity associated with a given address passed as a parent to this analyzer. This analyzer represents an ObjectWrapper corresponding to the desired object.


Field Summary
 
Fields inherited from class com.ibm.dtfj.analyzer.helpers.objectwrapper.ObjectWrapper
MODE_ALL, MODE_DEFAULT, MODE_INCLUDE_HEADER, MODE_INCLUDE_SIGNATURE, MODE_NONE, MODE_SHOW_INSTANCE_FINAL_FIELDS, MODE_SHOW_INSTANCE_NONFINAL_FIELDS, MODE_SHOW_STATIC_FINAL_FIELDS, MODE_SHOW_STATIC_NONFINAL_FIELDS, MODE_SPECIAL_FULL_REPORT
 
Constructor Summary
LookupObjectByAddress()
           
 
Method Summary
static LookupObjectByAddress getInstance(IAnalyzerContext context, com.ibm.dtfj.image.ImagePointer ptr)
          Find the LookupObjectByAddress bean instance that corresponds to the given address (create it if necessary)
 void setParent(java.lang.Object parent)
          Set the parent Object underlying this analyzer bean.
 
Methods inherited from class com.ibm.dtfj.analyzer.helpers.objectwrapper.ObjectWrapper
checkMaskedField, endPrintGroup, getCachingPriority, getInstance, getValueAtPath, getValueAtPath, getVersion, printCollectionEntriesAtPath, printCollectionEntriesAtPath, printCollectionMapEntryReportsAtPath, printCollectionSizeAtPath, printCollectionValueReportsAtPath, printReportAtPath, printValueAtPath, printValueAtPath, produceReport, setMaskedFieldPattern, startPrintGroup, toString
 
Methods inherited from class com.ibm.dtfj.analyzer.helpers.ValueWrapper
equals, getBooleanValue, getByteValue, getCharacterValue, getDoubleValue, getFloatValue, getIntegerValue, getJavaClassValue, getJavaObjectValue, getLongValue, getObjectWrapper, getObjectWrapper, getOneJavaClassValue, getOneJavaObjectValue, getRawValue, getShortValue, getStringValue, getTypeSignature, getValueWrapperInstance, hashCode, isBoolean, isByte, isCharacter, isDouble, isFloat, isInstanceOf, isInteger, isJavaClass, isJavaObject, isLong, isShort, isString
 
Methods inherited from class com.ibm.dtfj.analyzer.base.SimpleAnalyzerBean
allocateReport, allocateReportOptions, allocateSecondaryReport, getCategories, getContext, getIdentityString, getInstance, getLogger, getLongDescription, getName, getNextValidObject, getParent, getReportExtensionHelper, getResourceBundleName, getShortDescription, isPrimaryAnalyzer, printEmbeddedReport, printEmbeddedReport, printEmbeddedReportWithOptions, printEmbeddedReportWithOptions, printReportInfoHeader, recordInternalExceptionStatic, setContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LookupObjectByAddress

public LookupObjectByAddress()
Method Detail

getInstance

public static LookupObjectByAddress getInstance(IAnalyzerContext context,
                                                com.ibm.dtfj.image.ImagePointer ptr)
Find the LookupObjectByAddress bean instance that corresponds to the given address (create it if necessary)

Parameters:
context - the AnalyzerContext in which to locate this bean instance
ptr - the address to look-up
Returns:
the desired LookupObjectByAddress analyzer bean

setParent

public void setParent(java.lang.Object parent)
Set the parent Object underlying this analyzer bean. The parent must be of type ImagePointer, and this bean will represent the object whose object ID corresponds to this ImagePointer.

Specified by:
setParent in interface IWrapper
Overrides:
setParent in class ValueWrapper
Parameters:
parent - The parent object to set (as a ImagePointer)
See Also:
IWrapper.setParent(java.lang.Object)


© Copyright IBM Corp. 2007, 2008 All Rights Reserved. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.