1 <!DOCTYPE HTML>
   2 <!--
   3  Copyright (c) 2018, 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 <Table Border="0">
  45 <caption style="font-size:x-large"><b>JDI Type Signatures</b></caption>
  46 <thead>
  47 <tr><th scope="col">Type Signature
  48 <th scope="col">Java Type
  49 </thead>
  50 <tbody>
  51 <tr><th scope="row">Z<td>boolean
  52 <tr><th scope="row">B<td>byte
  53 <tr><th scope="row">C<td>char
  54 <tr><th scope="row">S<td>short
  55 <tr><th scope="row">I<td>int
  56 <tr><th scope="row">J<td>long
  57 <tr><th scope="row">F<td>float
  58 <tr><th scope="row">D<td>double
  59 <tr><th scope="row"><strong>L</strong> <em>fully-qualified-class</em> 
  60 <strong>;</strong>
  61 <td>fully-qualified-class
  62 <tr><th scope="row"><strong>[</strong> <em>type
  63 </em>
  64 <td><em>type</em>[]
  65 <tr><th scope="row">
  66 <strong>(</strong> <em>arg-types </em><strong>)</strong> <em>ret-type
  67 </em>
  68 <td>method type (including constructors)
  69 </tbody>
  70 </Table>
  71 <p>For example, the Java method:
  72 <pre>    long f (int n, String s, int[] arr);
  73 </pre>has the following type signature:
  74 <pre>    (ILjava/lang/String;[I)J
  75 </pre>
  76 </div>
  77 </BODY>
  78 </HTML>