public class com.sun.tools.javah.Util
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javah.Util
super_class: java.lang.Object
{
public boolean verbose;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
public java.io.PrintWriter log;
descriptor: Ljava/io/PrintWriter;
flags: (0x0001) ACC_PUBLIC
public javax.tools.DiagnosticListener<? super javax.tools.JavaFileObject> dl;
descriptor: Ljavax/tools/DiagnosticListener;
flags: (0x0001) ACC_PUBLIC
Signature: Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;
private java.util.ResourceBundle m;
descriptor: Ljava/util/ResourceBundle;
flags: (0x0002) ACC_PRIVATE
void <init>(java.io.PrintWriter, javax.tools.DiagnosticListener<? super javax.tools.JavaFileObject>);
descriptor: (Ljava/io/PrintWriter;Ljavax/tools/DiagnosticListener;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.tools.javah.Util.verbose:Z
2: aload 0
aload 1
putfield com.sun.tools.javah.Util.log:Ljava/io/PrintWriter;
3: aload 0
aload 2
putfield com.sun.tools.javah.Util.dl:Ljavax/tools/DiagnosticListener;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javah/Util;
0 5 1 log Ljava/io/PrintWriter;
0 5 2 dl Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;
Signature: (Ljava/io/PrintWriter;Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;)V
MethodParameters:
Name Flags
log
dl
public void log(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javah.Util.log:Ljava/io/PrintWriter;
aload 1
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javah/Util;
0 2 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
private void initMessages();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "com.sun.tools.javah.resources.l10n"
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
putfield com.sun.tools.javah.Util.m:Ljava/util/ResourceBundle;
1: goto 4
StackMap locals:
StackMap stack: java.util.MissingResourceException
2: astore 1
start local 1 3: aload 0
ldc "Error loading resources. Please file a bug report."
aload 1
invokevirtual com.sun.tools.javah.Util.fatal:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javah/Util;
3 4 1 mre Ljava/util/MissingResourceException;
Exception table:
from to target type
0 1 2 Class java.util.MissingResourceException
Exceptions:
throws com.sun.tools.javah.Util$Exit
private java.lang.String getText(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javah.Util.m:Ljava/util/ResourceBundle;
ifnonnull 2
1: aload 0
invokevirtual com.sun.tools.javah.Util.initMessages:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javah.Util.m:Ljava/util/ResourceBundle;
aload 1
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 2
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
3: areturn
4: StackMap locals:
StackMap stack: java.util.MissingResourceException
astore 3
start local 3 5: aload 0
new java.lang.StringBuilder
dup
ldc "Key "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not found in resources."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokevirtual com.sun.tools.javah.Util.fatal:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 3 6: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/javah/Util;
0 7 1 key Ljava/lang/String;
0 7 2 args [Ljava/lang/Object;
5 6 3 e Ljava/util/MissingResourceException;
Exception table:
from to target type
2 3 4 Class java.util.MissingResourceException
Exceptions:
throws com.sun.tools.javah.Util$Exit
MethodParameters:
Name Flags
key
args
public void bug(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual com.sun.tools.javah.Util.bug:(Ljava/lang/String;Ljava/lang/Exception;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javah/Util;
0 2 1 key Ljava/lang/String;
Exceptions:
throws com.sun.tools.javah.Util$Exit
MethodParameters:
Name Flags
key
public void bug(java.lang.String, java.lang.Exception);
descriptor: (Ljava/lang/String;Ljava/lang/Exception;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javah.Util.dl:Ljavax/tools/DiagnosticListener;
aload 0
getstatic javax.tools.Diagnostic$Kind.ERROR:Ljavax/tools/Diagnostic$Kind;
aload 1
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.javah.Util.createDiagnostic:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/String;[Ljava/lang/Object;)Ljavax/tools/Diagnostic;
invokeinterface javax.tools.DiagnosticListener.report:(Ljavax/tools/Diagnostic;)V
1: aload 0
getfield com.sun.tools.javah.Util.dl:Ljavax/tools/DiagnosticListener;
aload 0
getstatic javax.tools.Diagnostic$Kind.NOTE:Ljavax/tools/Diagnostic$Kind;
ldc "bug.report"
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.javah.Util.createDiagnostic:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/String;[Ljava/lang/Object;)Ljavax/tools/Diagnostic;
invokeinterface javax.tools.DiagnosticListener.report:(Ljavax/tools/Diagnostic;)V
2: new com.sun.tools.javah.Util$Exit
dup
bipush 11
aload 2
invokespecial com.sun.tools.javah.Util$Exit.<init>:(ILjava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javah/Util;
0 3 1 key Ljava/lang/String;
0 3 2 e Ljava/lang/Exception;
Exceptions:
throws com.sun.tools.javah.Util$Exit
MethodParameters:
Name Flags
key
e
public void error(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javah.Util.dl:Ljavax/tools/DiagnosticListener;
aload 0
getstatic javax.tools.Diagnostic$Kind.ERROR:Ljavax/tools/Diagnostic$Kind;
aload 1
aload 2
invokevirtual com.sun.tools.javah.Util.createDiagnostic:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/String;[Ljava/lang/Object;)Ljavax/tools/Diagnostic;
invokeinterface javax.tools.DiagnosticListener.report:(Ljavax/tools/Diagnostic;)V
1: new com.sun.tools.javah.Util$Exit
dup
bipush 15
invokespecial com.sun.tools.javah.Util$Exit.<init>:(I)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javah/Util;
0 2 1 key Ljava/lang/String;
0 2 2 args [Ljava/lang/Object;
Exceptions:
throws com.sun.tools.javah.Util$Exit
MethodParameters:
Name Flags
key
args
private void fatal(java.lang.String, java.lang.Exception);
descriptor: (Ljava/lang/String;Ljava/lang/Exception;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javah.Util.dl:Ljavax/tools/DiagnosticListener;
aload 0
getstatic javax.tools.Diagnostic$Kind.ERROR:Ljavax/tools/Diagnostic$Kind;
ldc ""
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual com.sun.tools.javah.Util.createDiagnostic:(Ljavax/tools/Diagnostic$Kind;Ljava/lang/String;[Ljava/lang/Object;)Ljavax/tools/Diagnostic;
invokeinterface javax.tools.DiagnosticListener.report:(Ljavax/tools/Diagnostic;)V
1: new com.sun.tools.javah.Util$Exit
dup
bipush 10
aload 2
invokespecial com.sun.tools.javah.Util$Exit.<init>:(ILjava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javah/Util;
0 2 1 msg Ljava/lang/String;
0 2 2 e Ljava/lang/Exception;
Exceptions:
throws com.sun.tools.javah.Util$Exit
MethodParameters:
Name Flags
msg
e
private javax.tools.Diagnostic<javax.tools.JavaFileObject> createDiagnostic(javax.tools.Diagnostic$Kind, java.lang.String, []);
descriptor: (Ljavax/tools/Diagnostic$Kind;Ljava/lang/String;[Ljava/lang/Object;)Ljavax/tools/Diagnostic;
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new com.sun.tools.javah.Util$1
dup
aload 0
aload 2
aload 1
aload 3
invokespecial com.sun.tools.javah.Util$1.<init>:(Lcom/sun/tools/javah/Util;Ljava/lang/String;Ljavax/tools/Diagnostic$Kind;[Ljava/lang/Object;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javah/Util;
0 1 1 kind Ljavax/tools/Diagnostic$Kind;
0 1 2 code Ljava/lang/String;
0 1 3 args [Ljava/lang/Object;
Signature: (Ljavax/tools/Diagnostic$Kind;Ljava/lang/String;[Ljava/lang/Object;)Ljavax/tools/Diagnostic<Ljavax/tools/JavaFileObject;>;
MethodParameters:
Name Flags
kind final
code final
args final
}
SourceFile: "Util.java"
NestMembers:
com.sun.tools.javah.Util$1 com.sun.tools.javah.Util$Exit
InnerClasses:
com.sun.tools.javah.Util$1
public Exit = com.sun.tools.javah.Util$Exit of com.sun.tools.javah.Util
public final Kind = javax.tools.Diagnostic$Kind of javax.tools.Diagnostic