Class CFAbstractAnalysis.FieldInitialValue<V extends CFAbstractValue<V>>
java.lang.Object
org.checkerframework.framework.flow.CFAbstractAnalysis.FieldInitialValue<V>
- Type Parameters:
V
- type of value
- Enclosing class:
CFAbstractAnalysis<V extends CFAbstractValue<V>,
S extends CFAbstractStore<V, S>, T extends CFAbstractTransfer<V, S, T>>
public static class CFAbstractAnalysis.FieldInitialValue<V extends CFAbstractValue<V>>
extends Object
A triple of field, value corresponding to the annotations on its declared type, value of its
initializer. The value of the initializer is
null
if the field does not have one.-
Field Summary
Modifier and TypeFieldDescriptionfinal V
The value corresponding to the annotations on the declared type of the field.final FieldAccess
A field access that corresponds to the declaration of a field.The value of the initializer of the field, or null if no initializer exists. -
Constructor Summary
ConstructorDescriptionFieldInitialValue
(FieldAccess fieldDecl, V declared, @Nullable V initializer) Creates a new FieldInitialValue. -
Method Summary
-
Field Details
-
fieldDecl
A field access that corresponds to the declaration of a field. -
declared
The value corresponding to the annotations on the declared type of the field. -
initializer
The value of the initializer of the field, or null if no initializer exists.
-
-
Constructor Details
-
FieldInitialValue
Creates a new FieldInitialValue.- Parameters:
fieldDecl
- a field access that corresponds to the declaration of a fielddeclared
- value corresponding to the annotations on the declared type offield
initializer
- value of the initializer offield
, or null if no initializer exists
-