com.jrockit.memleak.value
Class ClassObjectInfo

java.lang.Object
  extended by com.jrockit.memleak.value.AbstractObjectInfo
      extended by com.jrockit.memleak.value.ObjectInfo
          extended by com.jrockit.memleak.value.ClassObjectInfo
All Implemented Interfaces:
IClassObjectInfo, IObjectInfo, IObjectSpecifier, IClassInfoHolder

public class ClassObjectInfo
extends ObjectInfo
implements IClassObjectInfo

Representation of an instance of Class to enable access to the corresponding IClassInfo.

Author:
mpersson

Field Summary
 
Fields inherited from class com.jrockit.memleak.value.AbstractObjectInfo
classInfo, objectID
 
Fields inherited from interface com.jrockit.memleak.IObjectInfo
EMPTY_ARRAY
 
Constructor Summary
ClassObjectInfo(int objectID, ClassInfo jlcClassInfo, ClassInfo peerClassInfo)
           
 
Method Summary
 IClassInfo getPeerClassInfo()
           
 
Methods inherited from class com.jrockit.memleak.value.ObjectInfo
getFieldValues, toString
 
Methods inherited from class com.jrockit.memleak.value.AbstractObjectInfo
equals, equals, getClassInfo, getField, getFieldReference, getFieldValue, getKeepAliveSize, getObjectId, hashCode, isDiscarded, isValid
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jrockit.memleak.IObjectInfo
getClassInfo, getField, getFieldReference, getFieldValue, getFieldValues, getKeepAliveSize, isDiscarded
 
Methods inherited from interface com.jrockit.memleak.IObjectSpecifier
getObjectId
 

Constructor Detail

ClassObjectInfo

public ClassObjectInfo(int objectID,
                       ClassInfo jlcClassInfo,
                       ClassInfo peerClassInfo)
Parameters:
objectID - the object ID.
jlcClassInfo - always the IClassInfo corresponding to Class.
peerClassInfo - the IClassInfo corresponding to this class.
Method Detail

getPeerClassInfo

public IClassInfo getPeerClassInfo()
Specified by:
getPeerClassInfo in interface IClassObjectInfo
Returns:
the IClassInfo of the class this object represents.


Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.