Class DefaultInferredTypesApplier

java.lang.Object
org.checkerframework.framework.type.DefaultInferredTypesApplier

public class DefaultInferredTypesApplier extends Object
Utility class for applying the annotations inferred by dataflow to a given type.
  • Constructor Details

  • Method Details

    • applyInferredType

      public void applyInferredType(AnnotatedTypeMirror type, AnnotationMirrorSet inferredSet, 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