public class DefaultInferredTypesApplier extends Object
Constructor and Description |
---|
DefaultInferredTypesApplier(boolean omitSubtypingCheck,
QualifierHierarchy hierarchy,
AnnotatedTypeFactory factory) |
DefaultInferredTypesApplier(QualifierHierarchy hierarchy,
AnnotatedTypeFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
applyInferredType(AnnotatedTypeMirror type,
Set<AnnotationMirror> inferredSet,
TypeMirror inferredTypeMirror)
For each top in qualifier hierarchy, traverse inferred and copy the required annotations over
to type.
|
public DefaultInferredTypesApplier(QualifierHierarchy hierarchy, AnnotatedTypeFactory factory)
public DefaultInferredTypesApplier(boolean omitSubtypingCheck, QualifierHierarchy hierarchy, AnnotatedTypeFactory factory)
public void applyInferredType(AnnotatedTypeMirror type, Set<AnnotationMirror> inferredSet, TypeMirror inferredTypeMirror)
type
- the type to which annotations are being appliedinferredSet
- the type inferred by data flowinferredTypeMirror
- underlying inferred type