Package org.checkerframework.common.wholeprograminference
package org.checkerframework.common.wholeprograminference
This package implements whole-program inference, an interprocedural inference that infers types
and inserts them into a program.
- See the Checker Framework Manual:
- Whole-program inference
-
ClassDescriptionThis class contains static methods that convert between
AnnotationandAnnotationMirror.Static methodSceneToStubWriter.write(org.checkerframework.common.wholeprograminference.scenelib.ASceneWrapper, java.lang.String, org.checkerframework.common.basetype.BaseTypeChecker)writes anASceneto a file in stub file format.Interface for recording facts at (pseudo-)assignments.The kinds of output that whole-program inference can produce.This is the primary implementation ofWholeProgramInference.This is an implementation ofWholeProgramInferenceStoragethat stores annotations directly with the JavaParser node corresponding to the annotation's location.Stores wrappers for the locations where annotations may be inferred in a class or interface.Stores the JavaParser node for a compilation unit and the list of wrappers for the classes and interfaces in that compilation unit.Stores the JavaParser node for a field and the annotations that have been inferred for it.A pair of two annotated types: an inferred type and a declared type.This class stores annotations using scenelib objects.Maps theWholeProgramInferenceScenesStorage.aTypeElementToString(org.checkerframework.afu.scenelib.el.ATypeElement)representation of an ATypeElement and its TypeUseLocation to a set of names of annotations.Stores annotations from whole-program inference.