This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE html>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>JavaClassName (infer.IR.JavaClassName)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.1"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../../index.html">infer</a>»<ahref="../index.html">IR</a>» JavaClassName</nav><h1>Module <code>IR.JavaClassName</code></h1></header><dl><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code></dt></dl><div><divclass="spec include"><divclass="doc"><dl><dtclass="spec value"id="val-compare"><ahref="#val-compare"class="anchor"></a><code><spanclass="keyword">val</span> compare : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> int</code></dt><dtclass="spec value"id="val-equal"><ahref="#val-equal"class="anchor"></a><code><spanclass="keyword">val</span> equal : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-yojson_of_t"><ahref="#val-yojson_of_t"class="anchor"></a><code><spanclass="keyword">val</span> yojson_of_t : <ahref="index.html#type-t">t</a><span>-></span> Ppx_yojson_conv_lib.Yojson.Safe.t</code></dt></dl></div></div></div><divclass="spec module"id="module-Map"><ahref="#module-Map"class="anchor"></a><code><spanclass="keyword">module</span> Map : <ahref="../../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.Caml.Map.S <spanclass="keyword">with</span><spanclass="keyword">type</span><ahref="index.html#module-Map">Map</a>.key = <ahref="index.html#type-t">t</a></code></div><divclass="spec module"id="module-Set"><ahref="#module-Set"class="anchor"></a><code><spanclass="keyword">module</span> Set : <ahref="../../IStdlib/index.html#module-IStd">IStdlib.IStd</a>.Caml.Set.S <spanclass="keyword">with</span><spanclass="keyword">type</span><ahref="index.html#module-Set">Set</a>.elt = <ahref="index.html#type-t">t</a></code></div><dl><dtclass="spec value"id="val-make"><ahref="#val-make"class="anchor"></a><code><spanclass="keyword">val</span> make : <span>package:<span>string option</span></span><span>-></span><span>classname:string</span><span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p><code>make ~package:(Some "java.lang") "Object"</code> creates a value representing <code>java.lang.Object</code></p></dd></dl><dl><dtclass="spec value"id="val-from_string"><ahref="#val-from_string"class="anchor"></a><code><spanclass="keyword">val</span> from_string : string <span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p><code>from_string "java.lang.Object"</code> is same as <code>make ~package:(Some "java.lang") "Object"</code></p></dd></dl><dl><dtclass="spec value"id="val-to_string"><ahref="#val-to_string"class="anchor"></a><code><spanclass="keyword">val</span> to_string : <ahref="index.html#type-t">t</a><span>-></span> string</code></dt><dd><p><code>to_string (from_string "X.Y.Z") = "X.Y.Z"</code></p></dd></dl><dl><dtclass="spec value"id="val-pp"><ahref="#val-pp"class="anchor"></a><code><spanclass="keyword">val</span> pp : Stdlib.Format.formatter <span>-></span><ahref="index.html#type-t">t</a><span>-></span> unit</code></dt><dd><p><code>pp</code> includes package if any</p></dd></dl><dl><dtclass="spec value"id="val-pp_with_verbosity"><ahref="#val-pp_with_verbosity"class="anchor"></a><code><spanclass="keyword">val</span> pp_with_verbosity : <span>verbose:bool</span><span>-></span> Stdlib.Format.formatter <span>-></span><ahref="index.html#type-t">t</a><span>-></span> unit</code></dt><dd><p>if <code>verbose</code> then print package if present, otherwise only print class</p></dd></dl><dl><dtclass="spec value"id="val-package"><ahref="#val-package"class="anchor"></a><code><spanclass="keyword">val</span> package : <ahref="index.html#type-t">t</a><span>-></span><span>string option</span></code></dt><dtclass="spec value"id="val-classname"><ahref="#val-classname"class="anchor"></a><code><spanclass="keyword">val</span> classname : <ahref="index.html#type-t">t</a><span>-></span> string</code></dt><dtclass="spec value"id="val-is_external_via_config"><ahref="#val-is_external_via_config"class="anchor"></a><code><spanclass="keyword">val</span> is_external_via_config : <ahref="index.html#type-t">t</a><span>-></span> bool</code></dt><dd><p>Considered external based on config flags.</p></dd></dl><dl><dtclass="spec value"id="val-get_outer_class_name"><ahref="#val-get_outer_class_name"class="anchor"></a><code><spanclass="keyword">val</span> get_outer_class_name : <ahref="index.html#type-t">t</a><span>-></span><span><ahref="index.html#type-t">t</a> option</span></code></dt><dd><p>If this is an inner class, return the closest outer, e.g. A$B for A$B$C. None if the class is outermost</p></dd></dl><dl><dtclass="spec value"id="val-is_anonymous_inner_class_name"><ahref="#val-is_anonymous_inner_class_name"class="anchor"></a><code><spanclass="keyword">val</span> is_anonymous_inner_class_name : <ahref="index.html#type-t">t</a><span>-></span> bool</code></dt><dd><p>True if it is either "classic" anonymous Java class: https://docs.oracle.com/javase/tutorial/java/javaOO/anonymousclasses.html, or a synthetic Java class corresponding to a lambda expression.</p></dd></dl><dl><dtclass="spec value"id="val-get_user_defined_class_if_anonymous_inner"><ahref="#val-get_user_defined_class_if_anonymous_inner"class="anchor"></a><code><spanclass="keyword">val</span> get_user_defined_class_if_anonymous_inner : <ahref="index.html#type-t">t</a><span>-></span><span><ahref="index.html#type-t">t</a> option</span></code></dt><dd><p>If the current class is anonymous (<code>is_anonymous_inner_class_name</code> is true), return the corresponding user defined (not anonymous) class this anonymous class belongs to.</p><p>In general case, BOTH anonymous classes and user-defined classes can be nested: SomeClass$NestedClass$1$17$5. In this example, we should return SomeClass$NestedClass.</p><p>If this is not an anonymous class, returns <code>None</code>.</p></dd></dl><divclass="spec module"id="module-Normalizer"><ahref="#module-Normalizer"class="anchor"></a><code><spanclass="keyword">module</span><ahref="Normalizer/index.html">Normalizer</a> : <ahref="../../IStdlib/HashNormalizer/index.html#module-type-S">IStdlib.HashNormalizer.S</a><spanclass="keyword">with</span><spanclass="keyword">type</span><ahref="../../IStdlib/HashNormalizer/module-type-S/index.html#type-t">t</a> = <ahref="index.html#type-t">t</a></code></div></div></body></html>