public final class java.util.Formatter implements java.io.Closeable, java.io.Flushable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.util.Formatter
super_class: java.lang.Object
{
private java.lang.Appendable a;
descriptor: Ljava/lang/Appendable;
flags: (0x0002) ACC_PRIVATE
private final java.util.Locale l;
descriptor: Ljava/util/Locale;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.io.IOException lastException;
descriptor: Ljava/io/IOException;
flags: (0x0002) ACC_PRIVATE
private static final char ZERO_SENTINEL;
descriptor: C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 65534
private char zero;
descriptor: C
flags: (0x0002) ACC_PRIVATE
private static final java.lang.String formatSpecifier;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "%(\\d+\\$)?([-#+ 0,(\\<]*)?(\\d+)?(\\.\\d+)?([tT])?([a-zA-Z%])"
private static final java.util.regex.Pattern fsPattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "%(\\d+\\$)?([-#+ 0,(\\<]*)?(\\d+)?(\\.\\d+)?([tT])?([a-zA-Z%])"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic java.util.Formatter.fsPattern:Ljava/util/regex/Pattern;
return
LocalVariableTable:
Start End Slot Name Signature
private static java.nio.charset.Charset toCharset(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/charset/Charset;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "charsetName"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
2: areturn
3: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
4: new java.io.UnsupportedEncodingException
dup
aload 0
invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 csn Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.nio.charset.IllegalCharsetNameException
1 2 3 Class java.nio.charset.UnsupportedCharsetException
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
csn
private static final java.lang.Appendable nonNullAppendable(java.lang.Appendable);
descriptor: (Ljava/lang/Appendable;)Ljava/lang/Appendable;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 a Ljava/lang/Appendable;
MethodParameters:
Name Flags
a
private void <init>(java.util.Locale, java.lang.Appendable);
descriptor: (Ljava/util/Locale;Ljava/lang/Appendable;)V
flags: (0x0002) ACC_PRIVATE
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
ldc 65534
putfield java.util.Formatter.zero:C
2: aload 0
aload 2
putfield java.util.Formatter.a:Ljava/lang/Appendable;
3: aload 0
aload 1
putfield java.util.Formatter.l:Ljava/util/Locale;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/Formatter;
0 5 1 l Ljava/util/Locale;
0 5 2 a Ljava/lang/Appendable;
MethodParameters:
Name Flags
l
a
private void <init>(java.nio.charset.Charset, java.util.Locale, java.io.File);
descriptor: (Ljava/nio/charset/Charset;Ljava/util/Locale;Ljava/io/File;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
1: new java.io.BufferedWriter
dup
new java.io.OutputStreamWriter
dup
new java.io.FileOutputStream
dup
aload 3
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
aload 1
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
invokespecial java.util.Formatter.<init>:(Ljava/util/Locale;Ljava/lang/Appendable;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Formatter;
0 3 1 charset Ljava/nio/charset/Charset;
0 3 2 l Ljava/util/Locale;
0 3 3 file Ljava/io/File;
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
charset
l
file
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
invokespecial java.util.Formatter.<init>:(Ljava/util/Locale;Ljava/lang/Appendable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Formatter;
public void <init>(java.lang.Appendable);
descriptor: (Ljava/lang/Appendable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
aload 1
invokestatic java.util.Formatter.nonNullAppendable:(Ljava/lang/Appendable;)Ljava/lang/Appendable;
invokespecial java.util.Formatter.<init>:(Ljava/util/Locale;Ljava/lang/Appendable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Formatter;
0 2 1 a Ljava/lang/Appendable;
MethodParameters:
Name Flags
a
public void <init>(java.util.Locale);
descriptor: (Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
invokespecial java.util.Formatter.<init>:(Ljava/util/Locale;Ljava/lang/Appendable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Formatter;
0 2 1 l Ljava/util/Locale;
MethodParameters:
Name Flags
l
public void <init>(java.lang.Appendable, java.util.Locale);
descriptor: (Ljava/lang/Appendable;Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
aload 1
invokestatic java.util.Formatter.nonNullAppendable:(Ljava/lang/Appendable;)Ljava/lang/Appendable;
invokespecial java.util.Formatter.<init>:(Ljava/util/Locale;Ljava/lang/Appendable;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Formatter;
0 2 1 a Ljava/lang/Appendable;
0 2 2 l Ljava/util/Locale;
MethodParameters:
Name Flags
a
l
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
1: new java.io.BufferedWriter
dup
new java.io.OutputStreamWriter
dup
new java.io.FileOutputStream
dup
aload 1
invokespecial java.io.FileOutputStream.<init>:(Ljava/lang/String;)V
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
invokespecial java.util.Formatter.<init>:(Ljava/util/Locale;Ljava/lang/Appendable;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Formatter;
0 3 1 fileName Ljava/lang/String;
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
fileName
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
invokespecial java.util.Formatter.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Locale;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Formatter;
0 2 1 fileName Ljava/lang/String;
0 2 2 csn Ljava/lang/String;
Exceptions:
throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
fileName
csn
public void <init>(java.lang.String, java.lang.String, java.util.Locale);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokestatic java.util.Formatter.toCharset:(Ljava/lang/String;)Ljava/nio/charset/Charset;
aload 3
new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokespecial java.util.Formatter.<init>:(Ljava/nio/charset/Charset;Ljava/util/Locale;Ljava/io/File;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Formatter;
0 2 1 fileName Ljava/lang/String;
0 2 2 csn Ljava/lang/String;
0 2 3 l Ljava/util/Locale;
Exceptions:
throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
fileName
csn
l
public void <init>(java.lang.String, java.nio.charset.Charset, java.util.Locale);
descriptor: (Ljava/lang/String;Ljava/nio/charset/Charset;Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
ldc "charset"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.nio.charset.Charset
aload 3
new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokespecial java.util.Formatter.<init>:(Ljava/nio/charset/Charset;Ljava/util/Locale;Ljava/io/File;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Formatter;
0 2 1 fileName Ljava/lang/String;
0 2 2 charset Ljava/nio/charset/Charset;
0 2 3 l Ljava/util/Locale;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fileName
charset
l
public void <init>(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
1: new java.io.BufferedWriter
dup
new java.io.OutputStreamWriter
dup
new java.io.FileOutputStream
dup
aload 1
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
invokespecial java.util.Formatter.<init>:(Ljava/util/Locale;Ljava/lang/Appendable;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Formatter;
0 3 1 file Ljava/io/File;
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
file
public void <init>(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
invokespecial java.util.Formatter.<init>:(Ljava/io/File;Ljava/lang/String;Ljava/util/Locale;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Formatter;
0 2 1 file Ljava/io/File;
0 2 2 csn Ljava/lang/String;
Exceptions:
throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
file
csn
public void <init>(java.io.File, java.lang.String, java.util.Locale);
descriptor: (Ljava/io/File;Ljava/lang/String;Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokestatic java.util.Formatter.toCharset:(Ljava/lang/String;)Ljava/nio/charset/Charset;
aload 3
aload 1
invokespecial java.util.Formatter.<init>:(Ljava/nio/charset/Charset;Ljava/util/Locale;Ljava/io/File;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Formatter;
0 2 1 file Ljava/io/File;
0 2 2 csn Ljava/lang/String;
0 2 3 l Ljava/util/Locale;
Exceptions:
throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
file
csn
l
public void <init>(java.io.File, java.nio.charset.Charset, java.util.Locale);
descriptor: (Ljava/io/File;Ljava/nio/charset/Charset;Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
ldc "charset"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.nio.charset.Charset
aload 3
aload 1
invokespecial java.util.Formatter.<init>:(Ljava/nio/charset/Charset;Ljava/util/Locale;Ljava/io/File;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Formatter;
0 2 1 file Ljava/io/File;
0 2 2 charset Ljava/nio/charset/Charset;
0 2 3 l Ljava/util/Locale;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
charset
l
public void <init>(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Appendable
invokespecial java.util.Formatter.<init>:(Ljava/util/Locale;Ljava/lang/Appendable;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Formatter;
0 3 1 ps Ljava/io/PrintStream;
MethodParameters:
Name Flags
ps
public void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
1: new java.io.BufferedWriter
dup
new java.io.OutputStreamWriter
dup
aload 1
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
invokespecial java.util.Formatter.<init>:(Ljava/util/Locale;Ljava/lang/Appendable;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Formatter;
0 3 1 os Ljava/io/OutputStream;
MethodParameters:
Name Flags
os
public void <init>(java.io.OutputStream, java.lang.String);
descriptor: (Ljava/io/OutputStream;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
invokespecial java.util.Formatter.<init>:(Ljava/io/OutputStream;Ljava/lang/String;Ljava/util/Locale;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Formatter;
0 2 1 os Ljava/io/OutputStream;
0 2 2 csn Ljava/lang/String;
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
os
csn
public void <init>(java.io.OutputStream, java.lang.String, java.util.Locale);
descriptor: (Ljava/io/OutputStream;Ljava/lang/String;Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
new java.io.BufferedWriter
dup
new java.io.OutputStreamWriter
dup
aload 1
aload 2
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/lang/String;)V
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
invokespecial java.util.Formatter.<init>:(Ljava/util/Locale;Ljava/lang/Appendable;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Formatter;
0 2 1 os Ljava/io/OutputStream;
0 2 2 csn Ljava/lang/String;
0 2 3 l Ljava/util/Locale;
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
os
csn
l
public void <init>(java.io.OutputStream, java.nio.charset.Charset, java.util.Locale);
descriptor: (Ljava/io/OutputStream;Ljava/nio/charset/Charset;Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
new java.io.BufferedWriter
dup
new java.io.OutputStreamWriter
dup
aload 1
aload 2
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
invokespecial java.util.Formatter.<init>:(Ljava/util/Locale;Ljava/lang/Appendable;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Formatter;
0 2 1 os Ljava/io/OutputStream;
0 2 2 charset Ljava/nio/charset/Charset;
0 2 3 l Ljava/util/Locale;
MethodParameters:
Name Flags
os
charset
l
private char zero();
descriptor: ()C
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield java.util.Formatter.zero:C
istore 1
start local 1 1: iload 1
ldc 65534
if_icmpne 8
2: aload 0
getfield java.util.Formatter.l:Ljava/util/Locale;
ifnull 6
aload 0
getfield java.util.Formatter.l:Ljava/util/Locale;
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifne 6
3: aload 0
getfield java.util.Formatter.l:Ljava/util/Locale;
invokestatic java.text.DecimalFormatSymbols.getInstance:(Ljava/util/Locale;)Ljava/text/DecimalFormatSymbols;
astore 2
start local 2 4: aload 2
invokevirtual java.text.DecimalFormatSymbols.getZeroDigit:()C
istore 1
end local 2 5: goto 7
6: StackMap locals: int
StackMap stack:
bipush 48
istore 1
7: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield java.util.Formatter.zero:C
8: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/util/Formatter;
1 9 1 zero C
4 5 2 dfs Ljava/text/DecimalFormatSymbols;
public java.util.Locale locale();
descriptor: ()Ljava/util/Locale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.Formatter.ensureOpen:()V
1: aload 0
getfield java.util.Formatter.l:Ljava/util/Locale;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Formatter;
public java.lang.Appendable out();
descriptor: ()Ljava/lang/Appendable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.Formatter.ensureOpen:()V
1: aload 0
getfield java.util.Formatter.a:Ljava/lang/Appendable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Formatter;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.Formatter.ensureOpen:()V
1: aload 0
getfield java.util.Formatter.a:Ljava/lang/Appendable;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Formatter;
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.util.Formatter.ensureOpen:()V
1: aload 0
getfield java.util.Formatter.a:Ljava/lang/Appendable;
instanceof java.io.Flushable
ifeq 6
2: aload 0
getfield java.util.Formatter.a:Ljava/lang/Appendable;
checkcast java.io.Flushable
invokeinterface java.io.Flushable.flush:()V
3: goto 6
StackMap locals:
StackMap stack: java.io.IOException
4: astore 1
start local 1 5: aload 0
aload 1
putfield java.util.Formatter.lastException:Ljava/io/IOException;
end local 1 6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/Formatter;
5 6 1 ioe Ljava/io/IOException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield java.util.Formatter.a:Ljava/lang/Appendable;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Formatter.a:Ljava/lang/Appendable;
instanceof java.io.Closeable
ifeq 11
3: aload 0
getfield java.util.Formatter.a:Ljava/lang/Appendable;
checkcast java.io.Closeable
invokeinterface java.io.Closeable.close:()V
4: goto 11
StackMap locals:
StackMap stack: java.io.IOException
5: astore 1
start local 1 6: aload 0
aload 1
putfield java.util.Formatter.lastException:Ljava/io/IOException;
end local 1 7: aload 0
aconst_null
putfield java.util.Formatter.a:Ljava/lang/Appendable;
goto 12
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
9: aload 0
aconst_null
putfield java.util.Formatter.a:Ljava/lang/Appendable;
10: aload 2
athrow
11: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield java.util.Formatter.a:Ljava/lang/Appendable;
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/util/Formatter;
6 7 1 ioe Ljava/io/IOException;
Exception table:
from to target type
2 4 5 Class java.io.IOException
2 7 8 any
private void ensureOpen();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Formatter.a:Ljava/lang/Appendable;
ifnonnull 2
1: new java.util.FormatterClosedException
dup
invokespecial java.util.FormatterClosedException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Formatter;
public java.io.IOException ioException();
descriptor: ()Ljava/io/IOException;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Formatter.lastException:Ljava/io/IOException;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Formatter;
public java.util.Formatter format(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield java.util.Formatter.l:Ljava/util/Locale;
aload 1
aload 2
invokevirtual java.util.Formatter.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Formatter;
0 1 1 format Ljava/lang/String;
0 1 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
format
args
public java.util.Formatter format(java.util.Locale, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual java.util.Formatter.ensureOpen:()V
1: iconst_m1
istore 4
start local 4 2: iconst_m1
istore 5
start local 5 3: aload 0
aload 2
invokevirtual java.util.Formatter.parse:(Ljava/lang/String;)Ljava/util/List;
astore 6
start local 6 4: iconst_0
istore 7
start local 7 5: goto 35
6: StackMap locals: java.util.Formatter java.util.Locale java.lang.String java.lang.Object[] int int java.util.List int
StackMap stack:
aload 6
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.util.Formatter$FormatString
astore 8
start local 8 7: aload 8
invokeinterface java.util.Formatter$FormatString.index:()I
istore 9
start local 9 8: iload 9
tableswitch { // -2 - 0
-2: 9
-1: 11
0: 17
default: 25
}
9: StackMap locals: java.util.Formatter$FormatString int
StackMap stack:
aload 8
aconst_null
aload 1
invokeinterface java.util.Formatter$FormatString.print:(Ljava/lang/Object;Ljava/util/Locale;)V
10: goto 34
11: StackMap locals:
StackMap stack:
iload 4
iflt 12
aload 3
ifnull 13
iload 4
aload 3
arraylength
iconst_1
isub
if_icmple 13
12: StackMap locals:
StackMap stack:
new java.util.MissingFormatArgumentException
dup
aload 8
invokeinterface java.util.Formatter$FormatString.toString:()Ljava/lang/String;
invokespecial java.util.MissingFormatArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 8
aload 3
ifnonnull 14
aconst_null
goto 15
StackMap locals:
StackMap stack: java.util.Formatter$FormatString
14: aload 3
iload 4
aaload
StackMap locals: java.util.Formatter java.util.Locale java.lang.String java.lang.Object[] int int java.util.List int java.util.Formatter$FormatString int
StackMap stack: java.util.Formatter$FormatString java.lang.Object
15: aload 1
invokeinterface java.util.Formatter$FormatString.print:(Ljava/lang/Object;Ljava/util/Locale;)V
16: goto 34
17: StackMap locals:
StackMap stack:
iinc 5 1
18: iload 5
istore 4
19: aload 3
ifnull 21
iload 5
aload 3
arraylength
iconst_1
isub
if_icmple 21
20: new java.util.MissingFormatArgumentException
dup
aload 8
invokeinterface java.util.Formatter$FormatString.toString:()Ljava/lang/String;
invokespecial java.util.MissingFormatArgumentException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
aload 8
aload 3
ifnonnull 22
aconst_null
goto 23
StackMap locals:
StackMap stack: java.util.Formatter$FormatString
22: aload 3
iload 5
aaload
StackMap locals: java.util.Formatter java.util.Locale java.lang.String java.lang.Object[] int int java.util.List int java.util.Formatter$FormatString int
StackMap stack: java.util.Formatter$FormatString java.lang.Object
23: aload 1
invokeinterface java.util.Formatter$FormatString.print:(Ljava/lang/Object;Ljava/util/Locale;)V
24: goto 34
25: StackMap locals:
StackMap stack:
iload 9
iconst_1
isub
istore 4
26: aload 3
ifnull 28
iload 4
aload 3
arraylength
iconst_1
isub
if_icmple 28
27: new java.util.MissingFormatArgumentException
dup
aload 8
invokeinterface java.util.Formatter$FormatString.toString:()Ljava/lang/String;
invokespecial java.util.MissingFormatArgumentException.<init>:(Ljava/lang/String;)V
athrow
28: StackMap locals:
StackMap stack:
aload 8
aload 3
ifnonnull 29
aconst_null
goto 30
StackMap locals:
StackMap stack: java.util.Formatter$FormatString
29: aload 3
iload 4
aaload
StackMap locals: java.util.Formatter java.util.Locale java.lang.String java.lang.Object[] int int java.util.List int java.util.Formatter$FormatString int
StackMap stack: java.util.Formatter$FormatString java.lang.Object
30: aload 1
invokeinterface java.util.Formatter$FormatString.print:(Ljava/lang/Object;Ljava/util/Locale;)V
31: goto 34
StackMap locals:
StackMap stack: java.io.IOException
32: astore 10
start local 10 33: aload 0
aload 10
putfield java.util.Formatter.lastException:Ljava/io/IOException;
end local 10 end local 9 end local 8 34: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
35: iload 7
aload 6
invokeinterface java.util.List.size:()I
if_icmplt 6
end local 7 36: aload 0
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Ljava/util/Formatter;
0 37 1 l Ljava/util/Locale;
0 37 2 format Ljava/lang/String;
0 37 3 args [Ljava/lang/Object;
2 37 4 last I
3 37 5 lasto I
4 37 6 fsa Ljava/util/List<Ljava/util/Formatter$FormatString;>;
5 36 7 i I
7 34 8 fs Ljava/util/Formatter$FormatString;
8 34 9 index I
33 34 10 x Ljava/io/IOException;
Exception table:
from to target type
8 31 32 Class java.io.IOException
MethodParameters:
Name Flags
l
format
args
private java.util.List<java.util.Formatter$FormatString> parse(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 1
invokevirtual java.lang.String.length:()I
istore 4
start local 4 3: aconst_null
astore 5
start local 5 4: goto 26
5: StackMap locals: java.util.Formatter java.lang.String java.util.ArrayList int int java.util.regex.Matcher
StackMap stack:
aload 1
bipush 37
iload 3
invokevirtual java.lang.String.indexOf:(II)I
istore 6
start local 6 6: iload 6
ifge 9
7: aload 2
new java.util.Formatter$FixedString
dup
aload 0
aload 1
iload 3
iload 4
invokespecial java.util.Formatter$FixedString.<init>:(Ljava/util/Formatter;Ljava/lang/String;II)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
8: goto 27
9: StackMap locals: int
StackMap stack:
iload 3
iload 6
if_icmpeq 11
10: aload 2
new java.util.Formatter$FixedString
dup
aload 0
aload 1
iload 3
iload 6
invokespecial java.util.Formatter$FixedString.<init>:(Ljava/util/Formatter;Ljava/lang/String;II)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
11: StackMap locals:
StackMap stack:
iload 6
iconst_1
iadd
istore 3
12: iload 3
iload 4
if_icmplt 14
13: new java.util.UnknownFormatConversionException
dup
ldc "%"
invokespecial java.util.UnknownFormatConversionException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 15: iload 7
invokestatic java.util.Formatter$Conversion.isValid:(C)Z
ifeq 19
16: aload 2
new java.util.Formatter$FormatSpecifier
dup
aload 0
iload 7
invokespecial java.util.Formatter$FormatSpecifier.<init>:(Ljava/util/Formatter;C)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
17: iinc 3 1
18: goto 26
19: StackMap locals: int
StackMap stack:
aload 5
ifnonnull 21
20: getstatic java.util.Formatter.fsPattern:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 5
21: StackMap locals:
StackMap stack:
aload 5
iload 6
invokevirtual java.util.regex.Matcher.find:(I)Z
ifeq 25
aload 5
invokevirtual java.util.regex.Matcher.start:()I
iload 6
if_icmpne 25
22: aload 2
new java.util.Formatter$FormatSpecifier
dup
aload 0
aload 1
aload 5
invokespecial java.util.Formatter$FormatSpecifier.<init>:(Ljava/util/Formatter;Ljava/lang/String;Ljava/util/regex/Matcher;)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
23: aload 5
invokevirtual java.util.regex.Matcher.end:()I
istore 3
24: goto 26
25: StackMap locals:
StackMap stack:
new java.util.UnknownFormatConversionException
dup
iload 7
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.util.UnknownFormatConversionException.<init>:(Ljava/lang/String;)V
athrow
end local 7 end local 6 26: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmplt 5
27: StackMap locals:
StackMap stack:
aload 2
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljava/util/Formatter;
0 28 1 s Ljava/lang/String;
1 28 2 al Ljava/util/ArrayList<Ljava/util/Formatter$FormatString;>;
2 28 3 i I
3 28 4 max I
4 28 5 m Ljava/util/regex/Matcher;
6 26 6 n I
15 26 7 c C
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/util/Formatter$FormatString;>;
MethodParameters:
Name Flags
s
}
SourceFile: "Formatter.java"
NestMembers:
java.util.Formatter$BigDecimalLayoutForm java.util.Formatter$Conversion java.util.Formatter$DateTime java.util.Formatter$FixedString java.util.Formatter$Flags java.util.Formatter$FormatSpecifier java.util.Formatter$FormatSpecifier$BigDecimalLayout java.util.Formatter$FormatString
InnerClasses:
public final BigDecimalLayoutForm = java.util.Formatter$BigDecimalLayoutForm of java.util.Formatter
private Conversion = java.util.Formatter$Conversion of java.util.Formatter
private DateTime = java.util.Formatter$DateTime of java.util.Formatter
private FixedString = java.util.Formatter$FixedString of java.util.Formatter
private Flags = java.util.Formatter$Flags of java.util.Formatter
private FormatSpecifier = java.util.Formatter$FormatSpecifier of java.util.Formatter
private abstract FormatString = java.util.Formatter$FormatString of java.util.Formatter
public final Category = java.util.Locale$Category of java.util.Locale