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.

3 lines
7.9 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>JClasspath (infer.InferModules.JClasspath)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../../index.html">infer</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">InferModules.JClasspath</span></h1></header><div class="spec val" id="val-add_models"><a href="#val-add_models" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>add_models : string <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Adds the set of procnames for the models of Java libraries so that methods
with similar names are skipped during the capture</p></div></div><div class="spec val" id="val-is_model"><a href="#val-is_model" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_model : <a href="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span class="keyword">&#8209;&gt;</span> bool</code></div><div class="doc"><p>Check if there is a model for the given procname</p></div></div><div class="spec type" id="type-file_entry"><a href="#type-file_entry" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>file_entry</code><code></code><code><span class="keyword"> = </span></code><table class="variant"><tr id="type-file_entry.Singleton" class="anchored"><td class="def constructor"><a href="#type-file_entry.Singleton" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Singleton</span><span class="keyword"> of </span><a href="../../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a></code></td></tr><tr id="type-file_entry.Duplicate" class="anchored"><td class="def constructor"><a href="#type-file_entry.Duplicate" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Duplicate</span><span class="keyword"> of </span>(string<span class="keyword"> * </span><a href="../../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a>) list</code></td></tr></table><code></code></div><div class="doc"><p>map entry for source files with potential basename collision within the same compiler call</p></div></div><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code><span class="keyword"> = </span>string<span class="keyword"> * </span><a href="index.html#type-file_entry">file_entry</a> <a href="../../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.String.Map.t<span class="keyword"> * </span>Javalib_pack.JBasics.ClassSet.t</code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-load_from_verbose_output"><a href="#val-load_from_verbose_output" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>load_from_verbose_output : string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"><p>load the list of source files and the list of classes from the javac verbose file</p></div></div><div class="spec val" id="val-load_from_arguments"><a href="#val-load_from_arguments" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>load_from_arguments : string <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-t">t</a></code></div><div class="doc"><p>load the list of source files and the list of classes from Config.generated_classes</p></div></div><div class="spec type" id="type-classmap"><a href="#type-classmap" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>classmap</code><code><span class="keyword"> = </span>Javalib_pack.JCode.jcode Javalib_pack.Javalib.interface_or_class Javalib_pack.JBasics.ClassMap.t</code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-program"><a href="#type-program" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>program</code><code></code><code></code></div><div class="doc"></div></div><div class="spec val" id="val-get_classmap"><a href="#val-get_classmap" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>get_classmap : <a href="index.html#type-program">program</a> <span class="keyword">&#8209;&gt;</span> <a href="index.html#type-classmap">classmap</a></code></div><div class="doc"></div></div><div class="spec val" id="val-get_models"><a href="#val-get_models" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>get_models : <a href="index.html#type-program">program</a> <span class="keyword">&#8209