public interface FlowState
Modifier and Type | Method and Description |
---|---|
void |
and(FlowState other,
QualifierHierarchy annoRelations)
"And" the current state with an other state, modifying only the current state.
|
FlowState |
copy()
Deeply copy the state of the current flow state.
|
FlowState |
createFlowState(Set<@Nullable AnnotationMirror> annotations)
Create a new instance of the current flow state class.
|
Set<@Nullable AnnotationMirror> |
getAnnotations()
The current set of annotations that can be inferred.
|
void |
or(FlowState other,
QualifierHierarchy annoRelations)
"Or" the current state with an other state, modifying only the current state.
|
FlowState createFlowState(Set<@Nullable AnnotationMirror> annotations)
copy()
to create a new instance of the correct type.annotations
- The annotations that can be inferred.Set<@Nullable AnnotationMirror> getAnnotations()
FlowState copy()
void or(FlowState other, QualifierHierarchy annoRelations)
other
- The other state, will not be modified.annoRelations
- The relationship between the qualifiers.void and(FlowState other, QualifierHierarchy annoRelations)
other
- The other state, will not be modified.annoRelations
- The relationship between the qualifiers.