You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
1.9 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Nullsafe__AnnotationGraph (infer.Nullsafe__AnnotationGraph)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.2"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../index.html">infer</a> &#x00BB; 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 -&gt; B are connected in the graph.</p></aside><dl><dt class="spec value" id="val-build_graph"><a href="#val-build_graph" class="anchor"></a><code><span class="keyword">val</span> build_graph : <a href="../IR/Tenv/index.html#type-t">IR.Tenv.t</a> <span>&#45;&gt;</span> <a href="../IR/Struct/index.html#type-t">IR.Struct.t</a> <span>&#45;&gt;</span> <a href="../IR/Typ/index.html#type-name">IR.Typ.name</a> <span>&#45;&gt;</span> <span><a href="../Nullsafe/ProvisionalViolation/index.html#type-t">Nullsafe.ProvisionalViolation.t</a> list</span> <span>&#45;&gt;</span> <span><a href="../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>