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, createReferenceValueNull
createIntegerValue, createValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createIntegerValue, createReferenceValue, createReferenceValue, createValue
protected int integerID
protected int longID
protected int floatID
protected int doubleID
protected int referenceID
public IntegerValue createIntegerValue()
ValueFactory
createIntegerValue
in interface ValueFactory
createIntegerValue
in class BasicValueFactory
public LongValue createLongValue()
ValueFactory
createLongValue
in interface ValueFactory
createLongValue
in class BasicValueFactory
public FloatValue createFloatValue()
ValueFactory
createFloatValue
in interface ValueFactory
createFloatValue
in class BasicValueFactory
public DoubleValue createDoubleValue()
ValueFactory
createDoubleValue
in interface ValueFactory
createDoubleValue
in class BasicValueFactory
public ReferenceValue createReferenceValue(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull)
ValueFactory
null
, the ReferenceValue represents null
.createReferenceValue
in interface ValueFactory
createReferenceValue
in class ParticularValueFactory
public ReferenceValue createReferenceValue(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, java.lang.Object value)
ValueFactory
null
, the ReferenceValue represents null
.
The object is the actual value of the reference during execution (can be null).createReferenceValue
in interface ValueFactory
createReferenceValue
in class ParticularValueFactory
public ReferenceValue createReferenceValue(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Clazz creationClass, Method creationMethod, int creationOffset)
ValueFactory
null
, the ReferenceValue represents null
.
The object is the actual value of the reference during execution (can be null).createReferenceValue
in interface ValueFactory
createReferenceValue
in class ParticularValueFactory
public ReferenceValue createReferenceValue(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, Clazz creationClass, Method creationMethod, int creationOffset, java.lang.Object value)
ValueFactory
null
, the ReferenceValue represents null
.
The object is the actual value of the reference during execution (can be null).createReferenceValue
in interface ValueFactory
createReferenceValue
in class ParticularValueFactory
public ReferenceValue createReferenceValueForId(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, java.lang.Object id)
ValueFactory
null
, the ReferenceValue represents null
.createReferenceValueForId
in interface ValueFactory
createReferenceValueForId
in class ParticularValueFactory
public ReferenceValue createReferenceValueForId(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, java.lang.Object id, java.lang.Object value)
ValueFactory
null
, the ReferenceValue represents null
.
The object is the actual value of the reference during execution (can be null).createReferenceValueForId
in interface ValueFactory
createReferenceValueForId
in class ParticularValueFactory
public ReferenceValue createArrayReferenceValue(java.lang.String type, Clazz referencedClass, IntegerValue arrayLength)
ValueFactory
createArrayReferenceValue
in interface ValueFactory
createArrayReferenceValue
in class ParticularValueFactory