blob: f7bdd8d2f866bcac412798ddfa3ab3569e22f5c1 [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001<HTML>
2<HEAD>
3<TITLE>
4JDI Type Signatures
5</TITLE>
6</HEAD>
7<BODY BGCOLOR="white">
8<dl><dd>
9<Table Border="0">
10<caption><h2>JDI Type Signatures</h2></caption>
11<tr><th>Type Signature
12<th>Java Type
13<tr><td>Z<td>boolean
14<tr><td>B<td>byte
15<tr><td>C<td>char
16<tr><td>S<td>short
17<tr><td>I<td>int
18<tr><td>J<td>long
19<tr><td>F<td>float
20<tr><td>D<td>double
21<tr><td><strong>L</strong> <em>fully-qualified-class</em>
22<strong>;</strong>
23<td>fully-qualified-class
24<tr><td><strong>[</strong> <em>type
25</em>
26<td><em>type</em>[]
27<tr><td>
28<strong>(</strong> <em>arg-types </em><strong>)</strong> <em>ret-type
29</em>
30<td>method type (including constructors)
31</Table>
32</dd></dl>
33<p>For example, the Java method:
34<p><pre> long f (int n, String s, int[] arr);
35</pre>has the following type signature:
36<p><pre> (ILjava/lang/String;[I)J
37</pre>
38</BODY>
39</HTML>