public class JvmCfaReferenceValueFactory extends ParticularReferenceValueFactory
ParticularReferenceValueFactory creates IdentifiedReferenceValue and ParticularReferenceValues using the creation site as the unique identifier.
The identifier will be the JvmCfaNode of the specified creation site.
DOUBLE_VALUE, FLOAT_VALUE, INTEGER_VALUE, LONG_VALUE, REFERENCE_VALUE, UNKNOWN_VALUE| Constructor and Description |
|---|
JvmCfaReferenceValueFactory(JvmCfa cfa) |
| Modifier and Type | Method and Description |
|---|---|
ReferenceValue |
createReferenceValue(Clazz referencedClass,
boolean mayBeExtension,
boolean mayBeNull,
CodeLocation creationLocation,
@NotNull AnalyzedObject 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,
CodeLocation creationLocation)
Creates a new ReferenceValue that represents the given type, created at the specified code
location.
|
createReferenceValue, createReferenceValue, createReferenceValue, createReferenceValue, createReferenceValue, createReferenceValueForId, createReferenceValueForId, createReferenceValueForIdcreateArrayReferenceValue, createArrayReferenceValue, createReferenceValueNullcheckCreationLocation, checkReferenceValue, createDoubleValue, createDoubleValue, createFloatValue, createFloatValue, createIntegerValue, createIntegerValue, createIntegerValue, createLongValue, createLongValue, createReferenceValue, createValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateReferenceValue, createReferenceValue, createReferenceValuepublic JvmCfaReferenceValueFactory(JvmCfa cfa)
public ReferenceValue createReferenceValue(java.lang.String type, Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, CodeLocation creationLocation)
ValueFactorynull
, the ReferenceValue represents null.createReferenceValue in interface ValueFactorycreateReferenceValue in class ParticularReferenceValueFactorypublic ReferenceValue createReferenceValue(Clazz referencedClass, boolean mayBeExtension, boolean mayBeNull, CodeLocation creationLocation, @NotNull @NotNull AnalyzedObject value)
ValueFactorynull
, the ReferenceValue represents null.
The object wrapped by AnalyzedObject is either the value of the reference during
execution or a Model of it.
createReferenceValue in interface ValueFactorycreateReferenceValue in class ParticularReferenceValueFactory