public class org.apache.commons.math3.util.CompositeFormat
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.util.CompositeFormat
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/util/CompositeFormat;
public static java.text.NumberFormat getDefaultNumberFormat();
descriptor: ()Ljava/text/NumberFormat;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokestatic org.apache.commons.math3.util.CompositeFormat.getDefaultNumberFormat:(Ljava/util/Locale;)Ljava/text/NumberFormat;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.text.NumberFormat getDefaultNumberFormat(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/text/NumberFormat;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic java.text.NumberFormat.getInstance:(Ljava/util/Locale;)Ljava/text/NumberFormat;
astore 1
start local 1 1: aload 1
bipush 10
invokevirtual java.text.NumberFormat.setMaximumFractionDigits:(I)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 locale Ljava/util/Locale;
1 3 1 nf Ljava/text/NumberFormat;
MethodParameters:
Name Flags
locale final
public static void parseAndIgnoreWhitespace(java.lang.String, java.text.ParsePosition);
descriptor: (Ljava/lang/String;Ljava/text/ParsePosition;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.commons.math3.util.CompositeFormat.parseNextCharacter:(Ljava/lang/String;Ljava/text/ParsePosition;)C
pop
1: aload 1
aload 1
invokevirtual java.text.ParsePosition.getIndex:()I
iconst_1
isub
invokevirtual java.text.ParsePosition.setIndex:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 source Ljava/lang/String;
0 3 1 pos Ljava/text/ParsePosition;
MethodParameters:
Name Flags
source final
pos final
public static char parseNextCharacter(java.lang.String, java.text.ParsePosition);
descriptor: (Ljava/lang/String;Ljava/text/ParsePosition;)C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.text.ParsePosition.getIndex:()I
istore 2
start local 2 1: aload 0
invokevirtual java.lang.String.length:()I
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: iload 2
iload 3
if_icmpge 10
4: StackMap locals: int int int
StackMap stack:
aload 0
iload 2
iinc 2 1
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 5: iload 5
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 7
iload 2
iload 3
6: if_icmplt 4
7: StackMap locals: int
StackMap stack:
aload 1
iload 2
invokevirtual java.text.ParsePosition.setIndex:(I)V
8: iload 2
iload 3
if_icmpge 10
9: iload 5
istore 4
end local 5 10: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 source Ljava/lang/String;
0 11 1 pos Ljava/text/ParsePosition;
1 11 2 index I
2 11 3 n I
3 11 4 ret C
5 10 5 c C
MethodParameters:
Name Flags
source final
pos final
private static java.lang.Number parseNumber(java.lang.String, double, java.text.ParsePosition);
descriptor: (Ljava/lang/String;DLjava/text/ParsePosition;)Ljava/lang/Number;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 3 0: aconst_null
astore 4
start local 4 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 2: aload 5
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: aload 5
dload 1
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
pop
4: aload 5
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: aload 5
invokevirtual java.lang.StringBuilder.length:()I
istore 6
start local 6 6: aload 3
invokevirtual java.text.ParsePosition.getIndex:()I
istore 7
start local 7 7: iload 7
iload 6
iadd
istore 8
start local 8 8: iload 8
aload 0
invokevirtual java.lang.String.length:()I
if_icmpge 12
9: aload 0
iload 7
iload 8
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 12
10: dload 1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
astore 4
11: aload 3
iload 8
invokevirtual java.text.ParsePosition.setIndex:(I)V
12: StackMap locals: java.lang.String double java.text.ParsePosition java.lang.Number java.lang.StringBuilder int int int
StackMap stack:
aload 4
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 source Ljava/lang/String;
0 13 1 value D
0 13 3 pos Ljava/text/ParsePosition;
1 13 4 ret Ljava/lang/Number;
2 13 5 sb Ljava/lang/StringBuilder;
6 13 6 n I
7 13 7 startIndex I
8 13 8 endIndex I
MethodParameters:
Name Flags
source final
value final
pos final
public static java.lang.Number parseNumber(java.lang.String, java.text.NumberFormat, java.text.ParsePosition);
descriptor: (Ljava/lang/String;Ljava/text/NumberFormat;Ljava/text/ParsePosition;)Ljava/lang/Number;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.text.ParsePosition.getIndex:()I
istore 3
start local 3 1: aload 1
aload 0
aload 2
invokevirtual java.text.NumberFormat.parse:(Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/lang/Number;
astore 4
start local 4 2: aload 2
invokevirtual java.text.ParsePosition.getIndex:()I
istore 5
start local 5 3: iload 3
iload 5
if_icmpne 14
4: iconst_3
newarray 7
dup
iconst_0
5: ldc NaN
dastore
dup
iconst_1
ldc Infinity
dastore
dup
iconst_2
ldc -Infinity
dastore
6: astore 6
start local 6 7: iconst_0
istore 7
start local 7 8: goto 13
9: StackMap locals: java.lang.String java.text.NumberFormat java.text.ParsePosition int java.lang.Number int double[] int
StackMap stack:
aload 0
aload 6
iload 7
daload
aload 2
invokestatic org.apache.commons.math3.util.CompositeFormat.parseNumber:(Ljava/lang/String;DLjava/text/ParsePosition;)Ljava/lang/Number;
astore 4
10: aload 4
ifnull 12
11: goto 14
12: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
13: iload 7
aload 6
arraylength
if_icmplt 9
end local 7 end local 6 14: StackMap locals:
StackMap stack:
aload 4
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 15 0 source Ljava/lang/String;
0 15 1 format Ljava/text/NumberFormat;
0 15 2 pos Ljava/text/ParsePosition;
1 15 3 startIndex I
2 15 4 number Ljava/lang/Number;
3 15 5 endIndex I
7 14 6 special [D
8 14 7 i I
MethodParameters:
Name Flags
source final
format final
pos final
public static boolean parseFixedstring(java.lang.String, java.lang.String, java.text.ParsePosition);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/text/ParsePosition;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.text.ParsePosition.getIndex:()I
istore 3
start local 3 1: iload 3
aload 1
invokevirtual java.lang.String.length:()I
iadd
istore 4
start local 4 2: iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmpge 5
3: iload 4
aload 0
invokevirtual java.lang.String.length:()I
if_icmpgt 5
4: aload 0
iload 3
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
aload 1
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifeq 8
5: StackMap locals: int int
StackMap stack:
aload 2
iload 3
invokevirtual java.text.ParsePosition.setIndex:(I)V
6: aload 2
iload 3
invokevirtual java.text.ParsePosition.setErrorIndex:(I)V
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 2
iload 4
invokevirtual java.text.ParsePosition.setIndex:(I)V
9: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 source Ljava/lang/String;
0 10 1 expected Ljava/lang/String;
0 10 2 pos Ljava/text/ParsePosition;
1 10 3 startIndex I
2 10 4 endIndex I
MethodParameters:
Name Flags
source final
expected final
pos final
public static java.lang.StringBuffer formatDouble(double, java.text.NumberFormat, java.lang.StringBuffer, java.text.FieldPosition);
descriptor: (DLjava/text/NumberFormat;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 2 start local 3 start local 4 0: dload 0
invokestatic java.lang.Double.isNaN:(D)Z
ifne 1
dload 0
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 5
1: StackMap locals:
StackMap stack:
aload 3
bipush 40
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
2: aload 3
dload 0
invokevirtual java.lang.StringBuffer.append:(D)Ljava/lang/StringBuffer;
pop
3: aload 3
bipush 41
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
4: goto 6
5: StackMap locals:
StackMap stack:
aload 2
dload 0
aload 3
aload 4
invokevirtual java.text.NumberFormat.format:(DLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;
pop
6: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 value D
0 7 2 format Ljava/text/NumberFormat;
0 7 3 toAppendTo Ljava/lang/StringBuffer;
0 7 4 pos Ljava/text/FieldPosition;
MethodParameters:
Name Flags
value final
format final
toAppendTo final
pos final
}
SourceFile: "CompositeFormat.java"