<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>IR__JavaSplitName (infer.IR__JavaSplitName)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.0"/><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>» IR__JavaSplitName</nav><h1>Module <code>IR__JavaSplitName</code></h1></header><divclass="spec module"id="module-F"><ahref="#module-F"class="anchor"></a><code><spanclass="keyword">module</span> F = Stdlib.Format</code></div><aside><p>Module for representing a Java type.</p></aside><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></dl></div></div></div><dl><dtclass="spec value"id="val-make"><ahref="#val-make"class="anchor"></a><code><spanclass="keyword">val</span> make : <span>?⁠package:string</span><span>-></span> string <span>-></span><ahref="index.html#type-t">t</a></code></dt><dtclass="spec value"id="val-of_string"><ahref="#val-of_string"class="anchor"></a><code><spanclass="keyword">val</span> of_string : string <span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p>Given a package.type_name string, it looks for the latest dot and splits the string in two (package, rest-of-type-name). If there is no dot symbol, assumes the whole string is a type name. NB the RHS is not just a classname, eg it can be an array type.</p></dd></dl><dl><dtclass="spec value"id="val-java_lang_object"><ahref="#val-java_lang_object"class="anchor"></a><code><spanclass="keyword">val</span> java_lang_object : <ahref="index.html#type-t">t</a></code></dt><dd><p><code>java.lang.Object</code> type</p></dd></dl><dl><dtclass="spec value"id="val-java_lang_object_array"><ahref="#val-java_lang_object_array"class="anchor"></a><code><spanclass="keyword">val</span> java_lang_object_array : <ahref="index.html#type-t">t</a></code></dt><dd><p><code>java.lang.Object[]</code> type</p></dd></dl><dl><dtclass="spec value"id="val-java_lang_string"><ahref="#val-java_lang_string"class="anchor"></a><code><spanclass="keyword">val</span> java_lang_string : <ahref="index.html#type-t">t</a></code></dt><dd><p><code>java.lang.String</code> type</p></dd></dl><dl><dtclass="spec value"id="val-java_lang_string_array"><ahref="#val-java_lang_string_array"class="anchor"></a><code><spanclass="keyword">val</span> java_lang_string_array : <ahref="index.html#type-t">t</a></code></dt><dd><p><code>java.lang.String[]</code> type</p></dd></dl><dl><dtclass="spec value"id="val-void"><ahref="#val-void"class="anchor"></a><code><spanclass="keyword">val</span> void : <ahref="index.html#type-t">t</a></code></dt><dd><p>Java <code>void</code> type</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-type_name"><ahref="#val-type_name"class="anchor"></a><code><spanclass="keyword">val</span> type_name : <ahref="index.html#type-t">t</a><span>-></span> string</code></dt><dtclass="spec value"id="val-pp_type_verbosity"><ahref="#val-pp_type_verbosity"