1 <!DOCTYPE HTML>
   2 <!--
   3  Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
   4  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   5 
   6  This code is free software; you can redistribute it and/or modify it
   7  under the terms of the GNU General Public License version 2 only, as
   8  published by the Free Software Foundation.  Oracle designates this
   9  particular file as subject to the "Classpath" exception as provided
  10  by Oracle in the LICENSE file that accompanied this code.
  11 
  12  This code is distributed in the hope that it will be useful, but WITHOUT
  13  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  14  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  15  version 2 for more details (a copy is included in the LICENSE file that
  16  accompanied this code).
  17 
  18  You should have received a copy of the GNU General Public License version
  19  2 along with this work; if not, write to the Free Software Foundation,
  20  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  21 
  22  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  23  or visit www.oracle.com if you need additional information or have any
  24  questions.
  25 -->
  26 
  27 <HTML lang="EN">
  28 <HEAD>
  29 <TITLE>
  30 JDI Type Signatures
  31 </TITLE>
  32 <META charset="UTF-8">
  33 <STYLE type="text/css">
  34 tbody th { font-weight: normal }
  35 table {
  36     margin-left: 40px;
  37     margin-top: 1em;
  38     margin-bottom: 1em;
  39 }
  40 </STYLE>
  41 </HEAD>
  42 <BODY style="background-color:white">
  43 <div role="main">
  44 <h1>JDI Type Signatures</h1>
  45 <Table Border="0">
  46 <caption style="font-size:x-large"><b>JDI Type Signatures</b></caption>
  47 <thead>
  48 <tr><th scope="col">Type Signature
  49 <th scope="col">Java Type
  50 </thead>
  51 <tbody>
  52 <tr><th scope="row">Z<td>boolean
  53 <tr><th scope="row">B<td>byte
  54 <tr><th scope="row">C<td>char
  55 <tr><th scope="row">S<td>short
  56 <tr><th scope="row">I<td>int
  57 <tr><th scope="row">J<td>long
  58 <tr><th scope="row">F<td>float
  59 <tr><th scope="row">D<td>double
  60 <tr><th scope="row"><strong>L</strong> <em>fully-qualified-class</em> 
  61 <strong>;</strong>
  62 <td>fully-qualified-class
  63 <tr><th scope="row"><strong>[</strong> <em>type
  64 </em>
  65 <td><em>type</em>[]
  66 <tr><th scope="row">
  67 <strong>(</strong> <em>arg-types </em><strong>)</strong> <em>ret-type
  68 </em>
  69 <td>method type (including constructors)
  70 </tbody>
  71 </Table>
  72 <p>For example, the Java method:
  73 <pre>    long f (int n, String s, int[] arr);
  74 </pre>has the following type signature:
  75 <pre>    (ILjava/lang/String;[I)J
  76 </pre>
  77 </div>
  78 </BODY>
  79 </HTML>