langtools/src/share/classes/com/sun/tools/javah/LLNI.java
changeset 1789 7ac8c0815000
parent 10 06bc494ca11e
child 3996 dc676a9093b3
equal deleted inserted replaced
1788:ced0a1a7ec80 1789:7ac8c0815000
    37   */
    37   */
    38 public class LLNI extends Gen {
    38 public class LLNI extends Gen {
    39 
    39 
    40     protected final char  pathChar = File.separatorChar;
    40     protected final char  pathChar = File.separatorChar;
    41     protected final char  innerDelim = '$';     /* For inner classes */
    41     protected final char  innerDelim = '$';     /* For inner classes */
    42     protected Hashtable   doneHandleTypes;
    42     protected Hashtable<Object, Object>   doneHandleTypes;
    43     MemberDoc []fields;
    43     MemberDoc []fields;
    44     MemberDoc [] methods;
    44     MemberDoc [] methods;
    45     private boolean       doubleAlign;
    45     private boolean       doubleAlign;
    46     private int           padFieldNum = 0;
    46     private int           padFieldNum = 0;
    47 
    47 
    66     }
    66     }
    67 
    67 
    68     protected void generateDeclsForClass(PrintWriter pw,
    68     protected void generateDeclsForClass(PrintWriter pw,
    69                                          ClassDoc clazz, String cname)
    69                                          ClassDoc clazz, String cname)
    70         throws ClassNotFoundException {
    70         throws ClassNotFoundException {
    71         doneHandleTypes  = new Hashtable();
    71         doneHandleTypes  = new Hashtable<Object, Object>();
    72         /* The following handle types are predefined in "typedefs.h". Suppress
    72         /* The following handle types are predefined in "typedefs.h". Suppress
    73            inclusion in the output by generating them "into the blue" here. */
    73            inclusion in the output by generating them "into the blue" here. */
    74         genHandleType(null, "java.lang.Class");
    74         genHandleType(null, "java.lang.Class");
    75         genHandleType(null, "java.lang.ClassLoader");
    75         genHandleType(null, "java.lang.ClassLoader");
    76         genHandleType(null, "java.lang.Object");
    76         genHandleType(null, "java.lang.Object");