Class OldObjectFactory
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.parser.v0.factories.OldObjectFactory
-
- All Implemented Interfaces:
IPoolFactory<IMCOldObject>
public class OldObjectFactory extends java.lang.Object implements IPoolFactory<IMCOldObject>
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description OldObjectFactory(ValueDescriptor[] descriptors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMCOldObject
createObject(long identifier, java.lang.Object source)
Creates a replacement object for a value in a poolContentType<IMCOldObject>
getContentType()
-
-
-
Field Detail
-
addressIndex
private final int addressIndex
-
typeIndex
private final int typeIndex
-
objectDescriptionIndex
private final int objectDescriptionIndex
-
referrerIndex
private final int referrerIndex
-
fieldNameIndex
private final int fieldNameIndex
-
fieldModifierIndex
private final int fieldModifierIndex
-
arraySizeIndex
private final int arraySizeIndex
-
arrayIndexIndex
private final int arrayIndexIndex
-
-
Constructor Detail
-
OldObjectFactory
public OldObjectFactory(ValueDescriptor[] descriptors)
-
-
Method Detail
-
createObject
public IMCOldObject createObject(long identifier, java.lang.Object source)
Description copied from interface:IPoolFactory
Creates a replacement object for a value in a pool- Specified by:
createObject
in interfaceIPoolFactory<IMCOldObject>
- Parameters:
identifier
- the identifier that is used to look up the object- Returns:
- the replacement object that will be used instead
-
getContentType
public ContentType<IMCOldObject> getContentType()
- Specified by:
getContentType
in interfaceIPoolFactory<IMCOldObject>
-
-