public class MCOldObject extends Object implements IMCOldObject
IMCOldObject interface.| Constructor and Description |
|---|
MCOldObject(IQuantity address,
IMCType type,
String objectDescription,
IMCOldObject referrer,
String field,
IQuantity fieldModifier,
IQuantity arraySize,
IQuantity arrayIndex)
Create a new old object instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
IQuantity |
getAddress()
The address of the object, used for identity purposes.
|
String |
getDescription()
Returns a description of the object.
|
IMCOldObject |
getReferrer()
Returns the object that refers to this object in the heap reference chain.
|
IMCOldObjectArray |
getReferrerArray()
If the object is referred to by an object in an array it returns the information about that
array, otherwise it returns
null. |
IMCOldObjectField |
getReferrerField()
If the object is referred to by an object in a field it returns a representation of the
field,
null otherwise. |
int |
getReferrerSkip()
Returns the number of steps away in the reference chain this object is from the next object
referring to it.
|
IMCType |
getType()
The type of the object, as an
IMCType |
int |
hashCode() |
String |
toString() |
public MCOldObject(IQuantity address, IMCType type, String objectDescription, IMCOldObject referrer, String field, IQuantity fieldModifier, IQuantity arraySize, IQuantity arrayIndex)
address - object address, see IMCOldObject.getAddress()type - object typeobjectDescription - object descriptionreferrer - Referrer object, see IMCOldObject.getReferrer(). null if there is
no referring object.field - Name of the referring field, see IMCOldObjectField.getName(). null
if there is no referring field.fieldModifier - Modifier of the referring field, see IMCOldObjectField.getModifier().
null if there is no referring field.arraySize - The array size if field refers to an array, see
IMCOldObjectArray.getSize(). null if the field is not an array.arrayIndex - The array index that refers to this object if field refers to an array,
see IMCOldObjectArray.getIndex(). null if the field is not an
array.public IQuantity getAddress()
IMCOldObjectgetAddress in interface IMCOldObjectpublic IMCOldObjectArray getReferrerArray()
IMCOldObjectnull.getReferrerArray in interface IMCOldObjectpublic IMCOldObjectField getReferrerField()
IMCOldObjectnull otherwise.getReferrerField in interface IMCOldObjectpublic String getDescription()
IMCOldObjectgetDescription in interface IMCOldObjectpublic IMCOldObject getReferrer()
IMCOldObjectgetReferrer in interface IMCOldObjectpublic IMCType getType()
IMCOldObjectIMCTypegetType in interface IMCOldObjectpublic int getReferrerSkip()
IMCOldObjectgetReferrerSkip in interface IMCOldObjectCopyright © 2019. All rights reserved.