public class IdentifiedValueFactory extends ParticularValueFactory
ParticularValueFactory.ReferenceValueFactory| Modifier and Type | Field and Description |
|---|---|
protected int |
doubleID |
protected int |
floatID |
protected int |
integerID |
protected int |
longID |
protected int |
referenceID |
DOUBLE_VALUE, FLOAT_VALUE, INTEGER_VALUE, LONG_VALUE, REFERENCE_VALUE, UNKNOWN_VALUE| Constructor and Description |
|---|
IdentifiedValueFactory() |
| Modifier and Type | Method and Description |
|---|---|
ReferenceValue |
createArrayReferenceValue(java.lang.String type,
Clazz referencedClass,
IntegerValue arrayLength)
Creates a new ReferenceValue that represents a non-null array with
elements of the given type, with the given length.
|
DoubleValue |
createDoubleValue()
Creates a new DoubleValue with an undefined value.
|
FloatValue |
createFloatValue()
Creates a new FloatValue with an undefined value.
|
IntegerValue |
createIntegerValue()
Creates a new IntegerValue with an undefined value.
|
LongValue |
createLongValue()
Creates a new LongValue with an undefined value.
|
ReferenceValue |
createReferenceValue(java.lang.String type,
Clazz referencedClass,
boolean mayBeExtension,
boolean mayBeNull)
Creates a new ReferenceValue that represents the given type.
|
ReferenceValue |
createReferenceValue(java.lang.String type,
Clazz referencedClass,
boolean mayBeExtension,
boolean mayBeNull,
Clazz creationClass,
Method creationMethod,
int creationOffset)
Creates a new ReferenceValue that represents the given type, created at the
specified code location.
|
ReferenceValue |
createReferenceValue(java.lang.String type,
Clazz referencedClass,
boolean mayBeExtension,
boolean mayBeNull,
Clazz creationClass,
Method creationMethod,
int creationOffset,
java.lang.Object value)
Creates a new ReferenceValue that represents the given type, created at the
specified code location.
|
ReferenceValue |
createReferenceValue(java.lang.String type,
Clazz referencedClass,
boolean mayBeExtension,
boolean mayBeNull,
java.lang.Object value)
Creates a new ReferenceValue that represents the given type.
|
ReferenceValue |
createReferenceValueForId(java.lang.String type,
Clazz referencedClass,
boolean mayBeExtension,
boolean mayBeNull,
java.lang.Object id)
Creates a new ReferenceValue that represents the given type with a specified ID.
|
ReferenceValue |
createReferenceValueForId(java.lang.String type,
Clazz referencedClass,
boolean mayBeExtension,
boolean mayBeNull,
java.lang.Object id,
java.lang.Object value)
Creates a new ReferenceValue that represents the given type with a specified ID.
|
createArrayReferenceValue, createDoubleValue, createFloatValue, createIntegerValue, createLongValue, createReferenceValue, createReferenceValueNullcreateIntegerValue, createValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateIntegerValue, createReferenceValue, createReferenceValue, createValueprotected int integerID
protected int longID
protected int floatID
protected int doubleID
protected int referenceID
public IntegerValue createIntegerValue()
ValueFactorycreateIntegerValue in interface ValueFactorycreateIntegerValue in class BasicValueFactorypublic LongValue createLongValue()
ValueFactorycreateLongValue in interface ValueFactorycreateLongValue in class BasicValueFactorypublic FloatValue createFloatValue()
ValueFactorycreateFloatValue in interface ValueFactorycreateFloatValue in class BasicValueFactorypublic DoubleValue createDoubleValue()
ValueFactorycreateDoubleValue in interface ValueFactorycreateDoubleValue in class BasicValueFactorypublic ReferenceValue createReferenceValue(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull)
ValueFactorynull, the ReferenceValue represents null.createReferenceValue in interface ValueFactorycreateReferenceValue in class ParticularValueFactorypublic ReferenceValue createReferenceValue(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, java.lang.Object value)
ValueFactorynull, the ReferenceValue represents null.
The object is the actual value of the reference during execution (can be null).createReferenceValue in interface ValueFactorycreateReferenceValue in class ParticularValueFactorypublic ReferenceValue createReferenceValue(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Clazz creationClass, Method creationMethod, int creationOffset)
ValueFactorynull, the ReferenceValue represents null.
The object is the actual value of the reference during execution (can be null).createReferenceValue in interface ValueFactorycreateReferenceValue in class ParticularValueFactorypublic ReferenceValue createReferenceValue(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Clazz creationClass, Method creationMethod, int creationOffset, java.lang.Object value)
ValueFactorynull, the ReferenceValue represents null.
The object is the actual value of the reference during execution (can be null).createReferenceValue in interface ValueFactorycreateReferenceValue in class ParticularValueFactorypublic ReferenceValue createReferenceValueForId(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, java.lang.Object id)
ValueFactorynull, the ReferenceValue represents null.createReferenceValueForId in interface ValueFactorycreateReferenceValueForId in class ParticularValueFactorypublic ReferenceValue createReferenceValueForId(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, java.lang.Object id, java.lang.Object value)
ValueFactorynull, the ReferenceValue represents null.
The object is the actual value of the reference during execution (can be null).createReferenceValueForId in interface ValueFactorycreateReferenceValueForId in class ParticularValueFactorypublic ReferenceValue createArrayReferenceValue(java.lang.String type, Clazz referencedClass, IntegerValue arrayLength)
ValueFactorycreateArrayReferenceValue in interface ValueFactorycreateArrayReferenceValue in class ParticularValueFactory