Class DefaultInferredTypesApplier


  • public class DefaultInferredTypesApplier
    extends java.lang.Object
    Utility class for applying the annotations inferred by dataflow to a given type.
    • Method Detail

      • applyInferredType

        public void applyInferredType​(AnnotatedTypeMirror type,
                                      AnnotationMirrorSet inferredSet,
                                      javax.lang.model.type.TypeMirror inferredTypeMirror)
        For each top in qualifier hierarchy, traverse inferred and copy the required annotations over to type.
        Parameters:
        type - the type to which annotations are being applied
        inferredSet - the type inferred by data flow
        inferredTypeMirror - underlying inferred type