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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Nullsafe__ThirdPartyAnnotationInfo (infer.Nullsafe__ThirdPartyAnnotationInfo)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><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__ThirdPartyAnnotationInfo</nav><h1>Module <code>Nullsafe__ThirdPartyAnnotationInfo</code></h1></header><aside><p>In-memory storage the information about nullability annotation of third-party methods.</p></aside><dl><dt class="spec type" id="type-signature_info"><a href="#type-signature_info" class="anchor"></a><code><span class="keyword">type</span> signature_info</code><code> = </code><code>{</code><table class="record"><tr id="type-signature_info.filename" class="anchored"><td class="def field"><a href="#type-signature_info.filename" class="anchor"></a><code>filename : string;</code></td><td class="doc"><p>File where the particular signature is stored</p></td></tr><tr id="type-signature_info.line_number" class="anchored"><td class="def field"><a href="#type-signature_info.line_number" class="anchor"></a><code>line_number : int;</code></td><td class="doc"><p>Line number with this signature</p></td></tr><tr id="type-signature_info.signature" class="anchored"><td class="def field"><a href="#type-signature_info.signature" class="anchor"></a><code>signature : <a href="../Nullsafe/ThirdPartyMethod/index.html#type-t">Nullsafe.ThirdPartyMethod.t</a>;</code></td></tr></table><code>}</code></dt><dt class="spec type" id="type-unique_repr"><a href="#type-unique_repr" class="anchor"></a><code><span class="keyword">type</span> unique_repr</code><code> = </code><code>{</code><table class="record"><tr id="type-unique_repr.class_name" class="anchored"><td class="def field"><a href="#type-unique_repr.class_name" class="anchor"></a><code>class_name : <a href="../Nullsafe/ThirdPartyMethod/index.html#type-fully_qualified_type">Nullsafe.ThirdPartyMethod.fully_qualified_type</a>;</code></td></tr><tr id="type-unique_repr.method_name" class="anchored"><td class="def field"><a href="#type-unique_repr.method_name" class="anchor"></a><code>method_name : <a href="../Nullsafe/ThirdPartyMethod/index.html#type-method_name">Nullsafe.ThirdPartyMethod.method_name</a>;</code></td></tr><tr id="type-unique_repr.param_types" class="anchored"><td class="def field"><a href="#type-unique_repr.param_types" class="anchor"></a><code>param_types : <span><a href="../Nullsafe/ThirdPartyMethod/index.html#type-fully_qualified_type">Nullsafe.ThirdPartyMethod.fully_qualified_type</a> list</span>;</code></td></tr></table><code>}</code></dt><dd><p>The minimum information that is needed to _uniquely_ identify the method. That why we don't</p><ul><li>include e.g. return type, access quilifiers, or whether the method is static (because Java</li><li>overload resolution rules ignore these things). In contrast, parameter types are essential,</li><li>because Java allows several methods with different types.</li></ul></dd></dl><dl><dt class="spec value" id="val-pp_unique_repr"><a href="#val-pp_unique_repr" class="anchor"></a><code><span class="keyword">val</span> pp_unique_repr : Stdlib.Format.formatter <span>&#45;&gt;</span> <a href="index.html#type-unique_repr">unique_repr</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-unique_repr_of_java_proc_name"><a href="#val-unique_repr_of_java_proc_name" class="anchor"></a><code><span class="keyword">val</span> unique_repr_of_java_proc_name : <a href="../IR/Procname/Java/index.html#type-t">IR.Procname.Java.t</a> <span>&#45;&gt;</span> <a href="index.html#type-unique_repr">unique_repr</a></code></dt></dl><dl><dt class="spec type" id="type-storage"><a href="#type-storage" class="anchor"></a><code><span class="keyword">type</span> storage</code></dt></dl><dl><dt class="sp