public class OldObjectFactory extends java.lang.Object implements IPoolFactory<IMCOldObject>
Modifier and Type | Field and Description |
---|---|
private int |
addressIndex |
private int |
arrayIndexIndex |
private int |
arraySizeIndex |
private int |
fieldModifierIndex |
private int |
fieldNameIndex |
private int |
objectDescriptionIndex |
private int |
referrerIndex |
private int |
typeIndex |
Constructor and Description |
---|
OldObjectFactory(ValueDescriptor[] descriptors) |
Modifier and Type | Method and Description |
---|---|
IMCOldObject |
createObject(long identifier,
java.lang.Object source)
Creates a replacement object for a value in a pool
|
ContentType<IMCOldObject> |
getContentType() |
private final int addressIndex
private final int typeIndex
private final int objectDescriptionIndex
private final int referrerIndex
private final int fieldNameIndex
private final int fieldModifierIndex
private final int arraySizeIndex
private final int arrayIndexIndex
public OldObjectFactory(ValueDescriptor[] descriptors)
public IMCOldObject createObject(long identifier, java.lang.Object source)
IPoolFactory
createObject
in interface IPoolFactory<IMCOldObject>
identifier
- the identifier that is used to look up the objectpublic ContentType<IMCOldObject> getContentType()
getContentType
in interface IPoolFactory<IMCOldObject>