<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>Nullsafe__AnnotationGraph (infer.Nullsafe__AnnotationGraph)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.2"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../index.html">infer</a>» Nullsafe__AnnotationGraph</nav><h1>Module <code>Nullsafe__AnnotationGraph</code></h1></header><aside><p>Annotation graph for a Java class comprises of: * Nodes (annotation points): potential places in the class declaration to be annotated as <code>@Nullable</code> * For each annotation point the graph stores what will happen if this annotation point becomes real <code>@Nullable</code> (new violations that will arise) * Edges: if annotating a point A will require annotating another point B as <code>@Nullable</code>, A -> B are connected in the graph.</p></aside><dl><dtclass="spec value"id="val-build_graph"><ahref="#val-build_graph"class="anchor"></a><code><spanclass="keyword">val</span> build_graph : <ahref="../IR/Tenv/index.html#type-t">IR.Tenv.t</a><span>-></span><ahref="../IR/Struct/index.html#type-t">IR.Struct.t</a><span>-></span><ahref="../IR/Typ/index.html#type-name">IR.Typ.name</a><span>-></span><span><ahref="../Nullsafe/ProvisionalViolation/index.html#type-t">Nullsafe.ProvisionalViolation.t</a> list</span><span>-></span><span><ahref="../ATDGenerated/Jsonbug_t/index.html#type-annotation_point">ATDGenerated.Jsonbug_t.annotation_point</a> list</span></code></dt><dd><p>Given a Java class and the list of all provisional violations found in that class, build the annotation graph</p></dd></dl></div></body></html>