util
Class typeDesc

java.lang.Object
  |
  +--util.typeDesc

public final class typeDesc
extends java.lang.Object

Support methods for decoding and printing Java type descriptors.


Constructor Summary
typeDesc()
           
 
Method Summary
static java.lang.String charToType(char ch)
           
static java.lang.String decodeFieldDesc(java.lang.String descStr)
          Parse a field descriptor and return a String describing the type.
static boolean isTypeChar(char tChar)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

typeDesc

public typeDesc()
Method Detail

charToType

public static java.lang.String charToType(char ch)

isTypeChar

public static boolean isTypeChar(char tChar)

decodeFieldDesc

public static java.lang.String decodeFieldDesc(java.lang.String descStr)
Parse a field descriptor and return a String describing the type. For example, the descriptor [[I will result in the String "int[][]". The field descriptor defines the type of the field. This method is also used to parse types for the declarations of method local variables.