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
2.0 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>ClassLevelAnalysis (infer.Nullsafe.ClassLevelAnalysis)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.0"/><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; <a href="../index.html">Nullsafe</a> &#x00BB; ClassLevelAnalysis</nav><h1>Module <code>Nullsafe.ClassLevelAnalysis</code></h1></header><aside><p>This stage is called for each Java class after all corresponding proc summaries are calculated.</p></aside><dl><dt class="spec value" id="val-analyze_class"><a href="#val-analyze_class" class="anchor"></a><code><span class="keyword">val</span> analyze_class : <a href="../../IR/Tenv/index.html#type-t">IR.Tenv.t</a> <span>&#45;&gt;</span> <a href="../../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../AggregatedSummaries/ClassInfo/index.html#type-t">AggregatedSummaries.ClassInfo.t</a> <span>&#45;&gt;</span> <a href="../../Absint/IssueLog/index.html#type-t">Absint.IssueLog.t</a> <span>&#45;&gt;</span> <a href="../../Absint/IssueLog/index.html#type-t">Absint.IssueLog.t</a></code></dt><dd><p>Given aggregated summary for a class, analyze it, and return updated issue log, if necessary. This function will be called for each non-trivial<sup>1</sup> anonymous class in the file, including nested classes. Order of calls is not specified.</p><p><sup>1</sup>The class is non-trivial if it has at least one procedure, or contains at least one nested non-trivial class.</p><p>(Note that <code>IssueLog.t</code> is a mutable type so it can be actually mutated by this function: returning <code>IssueLog.t</code> is done for convenient chaining.)</p></dd></dl></div></body></html>