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
6.8 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="generator" content="odoc %%VERSION%%"/><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">InferModules</a> &#x00BB; JClasspath</nav><h1>Module <code>InferModules.JClasspath</code></h1></header><dl><dt class="spec value" id="val-add_models"><a href="#val-add_models" class="anchor"></a><code><span class="keyword">val</span> add_models : string <span>&#45;&gt;</span> unit</code></dt><dd><p>Adds the set of procnames for the models of Java libraries so that methods with similar names are skipped during the capture</p></dd></dl><dl><dt class="spec value" id="val-is_model"><a href="#val-is_model" class="anchor"></a><code><span class="keyword">val</span> is_model : <a href="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> bool</code></dt><dd><p>Check if there is a model for the given procname</p></dd></dl><dl><dt class="spec type" id="type-file_entry"><a href="#type-file_entry" class="anchor"></a><code><span class="keyword">type</span> file_entry</code><code> = </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>| </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>| </code><code><span class="constructor">Duplicate</span> <span class="keyword">of</span> <span><span>(string * <a href="../../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a>)</span> list</span></code></td></tr></table></dt><dd><p>map entry for source files with potential basename collision within the same compiler call</p></dd></dl><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = string * <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> * Javalib_pack.JBasics.ClassSet.t</code></dt></dl><dl><dt class="spec value" id="val-load_from_verbose_output"><a href="#val-load_from_verbose_output" class="anchor"></a><code><span class="keyword">val</span> load_from_verbose_output : string <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>load the list of source files and the list of classes from the javac verbose file</p></dd></dl><dl><dt class="spec value" id="val-load_from_arguments"><a href="#val-load_from_arguments" class="anchor"></a><code><span class="keyword">val</span> load_from_arguments : string <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>load the list of source files and the list of classes from Config.generated_classes</p></dd></dl><dl><dt class="spec type" id="type-classmap"><a href="#type-classmap" class="anchor"></a><code><span class="keyword">type</span> classmap</code><code> = <span><span>Javalib_pack.JCode.jcode Javalib_pack.Javalib.interface_or_class</span> Javalib_pack.JBasics.ClassMap.t</span></code></dt><dt class="spec type" id="type-program"><a href="#type-program" class="anchor"></a><code><span class="keyword">type</span> program</code></dt></dl><dl><dt class="spec value" id="val-get_classmap"><a href="#val-get_classmap" class="anchor"></a><code><span class="keyword">val</span> get_classmap : <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> <a href