class java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser implements java.time.format.DateTimeFormatterBuilder$DateTimePrinterParser
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser
super_class: java.lang.Object
{
private final java.time.temporal.TemporalQuery<java.time.ZoneId> query;
descriptor: Ljava/time/temporal/TemporalQuery;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/time/temporal/TemporalQuery<Ljava/time/ZoneId;>;
private final java.lang.String description;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile java.util.Map$Entry<java.lang.Integer, java.time.format.DateTimeFormatterBuilder$PrefixTree> cachedPrefixTree;
descriptor: Ljava/util/Map$Entry;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
Signature: Ljava/util/Map$Entry<Ljava/lang/Integer;Ljava/time/format/DateTimeFormatterBuilder$PrefixTree;>;
private static volatile java.util.Map$Entry<java.lang.Integer, java.time.format.DateTimeFormatterBuilder$PrefixTree> cachedPrefixTreeCI;
descriptor: Ljava/util/Map$Entry;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
Signature: Ljava/util/Map$Entry<Ljava/lang/Integer;Ljava/time/format/DateTimeFormatterBuilder$PrefixTree;>;
void <init>(java.time.temporal.TemporalQuery<java.time.ZoneId>, java.lang.String);
descriptor: (Ljava/time/temporal/TemporalQuery;Ljava/lang/String;)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
aload 1
putfield java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser.query:Ljava/time/temporal/TemporalQuery;
2: aload 0
aload 2
putfield java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser.description:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/time/format/DateTimeFormatterBuilder$ZoneIdPrinterParser;
0 4 1 query Ljava/time/temporal/TemporalQuery<Ljava/time/ZoneId;>;
0 4 2 description Ljava/lang/String;
Signature: (Ljava/time/temporal/TemporalQuery<Ljava/time/ZoneId;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
query
description
public boolean format(java.time.format.DateTimePrintContext, java.lang.StringBuilder);
descriptor: (Ljava/time/format/DateTimePrintContext;Ljava/lang/StringBuilder;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser.query:Ljava/time/temporal/TemporalQuery;
invokevirtual java.time.format.DateTimePrintContext.getValue:(Ljava/time/temporal/TemporalQuery;)Ljava/lang/Object;
checkcast java.time.ZoneId
astore 3
start local 3 1: aload 3
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.time.ZoneId
StackMap stack:
aload 2
aload 3
invokevirtual java.time.ZoneId.getId:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/time/format/DateTimeFormatterBuilder$ZoneIdPrinterParser;
0 5 1 context Ljava/time/format/DateTimePrintContext;
0 5 2 buf Ljava/lang/StringBuilder;
1 5 3 zone Ljava/time/ZoneId;
MethodParameters:
Name Flags
context
buf
protected java.time.format.DateTimeFormatterBuilder$PrefixTree getTree(java.time.format.DateTimeParseContext);
descriptor: (Ljava/time/format/DateTimeParseContext;)Ljava/time/format/DateTimeFormatterBuilder$PrefixTree;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: invokestatic java.time.zone.ZoneRulesProvider.getAvailableZoneIds:()Ljava/util/Set;
astore 2
start local 2 1: aload 2
invokeinterface java.util.Set.size:()I
istore 3
start local 3 2: aload 1
invokevirtual java.time.format.DateTimeParseContext.isCaseSensitive:()Z
ifeq 4
3: getstatic java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser.cachedPrefixTree:Ljava/util/Map$Entry;
goto 5
StackMap locals: java.util.Set int
StackMap stack:
4: getstatic java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser.cachedPrefixTreeCI:Ljava/util/Map$Entry;
5: StackMap locals:
StackMap stack: java.util.Map$Entry
astore 4
start local 4 6: aload 4
ifnull 7
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iload 3
if_icmpeq 21
7: StackMap locals: java.util.Map$Entry
StackMap stack:
aload 0
dup
astore 5
monitorenter
8: aload 1
invokevirtual java.time.format.DateTimeParseContext.isCaseSensitive:()Z
ifeq 9
getstatic java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser.cachedPrefixTree:Ljava/util/Map$Entry;
goto 10
StackMap locals: java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser
StackMap stack:
9: getstatic java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser.cachedPrefixTreeCI:Ljava/util/Map$Entry;
StackMap locals:
StackMap stack: java.util.Map$Entry
10: astore 4
11: aload 4
ifnull 12
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iload 3
if_icmpeq 17
12: StackMap locals:
StackMap stack:
new java.util.AbstractMap$SimpleImmutableEntry
dup
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 2
aload 1
invokestatic java.time.format.DateTimeFormatterBuilder$PrefixTree.newTree:(Ljava/util/Set;Ljava/time/format/DateTimeParseContext;)Ljava/time/format/DateTimeFormatterBuilder$PrefixTree;
invokespecial java.util.AbstractMap$SimpleImmutableEntry.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
astore 4
13: aload 1
invokevirtual java.time.format.DateTimeParseContext.isCaseSensitive:()Z
ifeq 16
14: aload 4
putstatic java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser.cachedPrefixTree:Ljava/util/Map$Entry;
15: goto 17
16: StackMap locals:
StackMap stack:
aload 4
putstatic java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser.cachedPrefixTreeCI:Ljava/util/Map$Entry;
17: StackMap locals:
StackMap stack:
aload 5
monitorexit
18: goto 21
StackMap locals:
StackMap stack: java.lang.Throwable
19: aload 5
monitorexit
20: athrow
21: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.time.format.DateTimeFormatterBuilder$PrefixTree
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljava/time/format/DateTimeFormatterBuilder$ZoneIdPrinterParser;
0 22 1 context Ljava/time/format/DateTimeParseContext;
1 22 2 regionIds Ljava/util/Set<Ljava/lang/String;>;
2 22 3 regionIdsSize I
6 22 4 cached Ljava/util/Map$Entry<Ljava/lang/Integer;Ljava/time/format/DateTimeFormatterBuilder$PrefixTree;>;
Exception table:
from to target type
8 18 19 any
19 20 19 any
MethodParameters:
Name Flags
context
public int parse(java.time.format.DateTimeParseContext, java.lang.CharSequence, int);
descriptor: (Ljava/time/format/DateTimeParseContext;Ljava/lang/CharSequence;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokeinterface java.lang.CharSequence.length:()I
istore 4
start local 4 1: iload 3
iload 4
if_icmple 3
2: new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
3: StackMap locals: int
StackMap stack:
iload 3
iload 4
if_icmpne 5
4: iload 3
iconst_m1
ixor
ireturn
5: StackMap locals:
StackMap stack:
aload 2
iload 3
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 5
start local 5 6: iload 5
bipush 43
if_icmpeq 7
iload 5
bipush 45
if_icmpne 8
7: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
iload 3
iload 3
getstatic java.time.format.DateTimeFormatterBuilder$OffsetIdPrinterParser.INSTANCE_ID_Z:Ljava/time/format/DateTimeFormatterBuilder$OffsetIdPrinterParser;
invokevirtual java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser.parseOffsetBased:(Ljava/time/format/DateTimeParseContext;Ljava/lang/CharSequence;IILjava/time/format/DateTimeFormatterBuilder$OffsetIdPrinterParser;)I
ireturn
8: StackMap locals:
StackMap stack:
iload 4
iload 3
iconst_2
iadd
if_icmplt 17
9: aload 2
iload 3
iconst_1
iadd
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 6
start local 6 10: aload 1
iload 5
bipush 85
invokevirtual java.time.format.DateTimeParseContext.charEquals:(CC)Z
ifeq 14
aload 1
iload 6
bipush 84
invokevirtual java.time.format.DateTimeParseContext.charEquals:(CC)Z
ifeq 14
11: iload 4
iload 3
iconst_3
iadd
if_icmplt 13
aload 1
aload 2
iload 3
iconst_2
iadd
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 67
invokevirtual java.time.format.DateTimeParseContext.charEquals:(CC)Z
ifeq 13
12: aload 0
aload 1
aload 2
iload 3
iload 3
iconst_3
iadd
getstatic java.time.format.DateTimeFormatterBuilder$OffsetIdPrinterParser.INSTANCE_ID_ZERO:Ljava/time/format/DateTimeFormatterBuilder$OffsetIdPrinterParser;
invokevirtual java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser.parseOffsetBased:(Ljava/time/format/DateTimeParseContext;Ljava/lang/CharSequence;IILjava/time/format/DateTimeFormatterBuilder$OffsetIdPrinterParser;)I
ireturn
13: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
iload 3
iload 3
iconst_2
iadd
getstatic java.time.format.DateTimeFormatterBuilder$OffsetIdPrinterParser.INSTANCE_ID_ZERO:Ljava/time/format/DateTimeFormatterBuilder$OffsetIdPrinterParser;
invokevirtual java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser.parseOffsetBased:(Ljava/time/format/DateTimeParseContext;Ljava/lang/CharSequence;IILjava/time/format/DateTimeFormatterBuilder$OffsetIdPrinterParser;)I
ireturn
14: StackMap locals:
StackMap stack:
aload 1
iload 5
bipush 71
invokevirtual java.time.format.DateTimeParseContext.charEquals:(CC)Z
ifeq 17
iload 4
iload 3
iconst_3
iadd
if_icmplt 17
15: aload 1
iload 6
bipush 77
invokevirtual java.time.format.DateTimeParseContext.charEquals:(CC)Z
ifeq 17
aload 1
aload 2
iload 3
iconst_2
iadd
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 84
invokevirtual java.time.format.DateTimeParseContext.charEquals:(CC)Z
ifeq 17
16: aload 0
aload 1
aload 2
iload 3
iload 3
iconst_3
iadd
getstatic java.time.format.DateTimeFormatterBuilder$OffsetIdPrinterParser.INSTANCE_ID_ZERO:Ljava/time/format/DateTimeFormatterBuilder$OffsetIdPrinterParser;
invokevirtual java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser.parseOffsetBased:(Ljava/time/format/DateTimeParseContext;Ljava/lang/CharSequence;IILjava/time/format/DateTimeFormatterBuilder$OffsetIdPrinterParser;)I
ireturn
end local 6 17: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser.getTree:(Ljava/time/format/DateTimeParseContext;)Ljava/time/format/DateTimeFormatterBuilder$PrefixTree;
astore 6
start local 6 18: new java.text.ParsePosition
dup
iload 3
invokespecial java.text.ParsePosition.<init>:(I)V
astore 7
start local 7 19: aload 6
aload 2
aload 7
invokevirtual java.time.format.DateTimeFormatterBuilder$PrefixTree.match:(Ljava/lang/CharSequence;Ljava/text/ParsePosition;)Ljava/lang/String;
astore 8
start local 8 20: aload 8
ifnonnull 25
21: aload 1
iload 5
bipush 90
invokevirtual java.time.format.DateTimeParseContext.charEquals:(CC)Z
ifeq 24
22: aload 1
getstatic java.time.ZoneOffset.UTC:Ljava/time/ZoneOffset;
invokevirtual java.time.format.DateTimeParseContext.setParsed:(Ljava/time/ZoneId;)V
23: iload 3
iconst_1
iadd
ireturn
24: StackMap locals: java.time.format.DateTimeFormatterBuilder$PrefixTree java.text.ParsePosition java.lang.String
StackMap stack:
iload 3
iconst_m1
ixor
ireturn
25: StackMap locals:
StackMap stack:
aload 1
aload 8
invokestatic java.time.ZoneId.of:(Ljava/lang/String;)Ljava/time/ZoneId;
invokevirtual java.time.format.DateTimeParseContext.setParsed:(Ljava/time/ZoneId;)V
26: aload 7
invokevirtual java.text.ParsePosition.getIndex:()I
ireturn
end local 8 end local 7 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 27 0 this Ljava/time/format/DateTimeFormatterBuilder$ZoneIdPrinterParser;
0 27 1 context Ljava/time/format/DateTimeParseContext;
0 27 2 text Ljava/lang/CharSequence;
0 27 3 position I
1 27 4 length I
6 27 5 nextChar C
10 17 6 nextNextChar C
18 27 6 tree Ljava/time/format/DateTimeFormatterBuilder$PrefixTree;
19 27 7 ppos Ljava/text/ParsePosition;
20 27 8 parsedZoneId Ljava/lang/String;
MethodParameters:
Name Flags
context
text
position
private int parseOffsetBased(java.time.format.DateTimeParseContext, java.lang.CharSequence, int, int, java.time.format.DateTimeFormatterBuilder$OffsetIdPrinterParser);
descriptor: (Ljava/time/format/DateTimeParseContext;Ljava/lang/CharSequence;IILjava/time/format/DateTimeFormatterBuilder$OffsetIdPrinterParser;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
iload 3
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
astore 6
start local 6 1: iload 4
aload 2
invokeinterface java.lang.CharSequence.length:()I
if_icmplt 4
2: aload 1
aload 6
invokestatic java.time.ZoneId.of:(Ljava/lang/String;)Ljava/time/ZoneId;
invokevirtual java.time.format.DateTimeParseContext.setParsed:(Ljava/time/ZoneId;)V
3: iload 4
ireturn
4: StackMap locals: java.lang.String
StackMap stack:
aload 2
iload 4
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 48
if_icmpeq 6
5: aload 1
aload 2
iload 4
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 90
invokevirtual java.time.format.DateTimeParseContext.charEquals:(CC)Z
ifeq 8
6: StackMap locals:
StackMap stack:
aload 1
aload 6
invokestatic java.time.ZoneId.of:(Ljava/lang/String;)Ljava/time/ZoneId;
invokevirtual java.time.format.DateTimeParseContext.setParsed:(Ljava/time/ZoneId;)V
7: iload 4
ireturn
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.time.format.DateTimeParseContext.copy:()Ljava/time/format/DateTimeParseContext;
astore 7
start local 7 9: aload 5
aload 7
aload 2
iload 4
invokevirtual java.time.format.DateTimeFormatterBuilder$OffsetIdPrinterParser.parse:(Ljava/time/format/DateTimeParseContext;Ljava/lang/CharSequence;I)I
istore 8
start local 8 10: iload 8
ifge 17
11: aload 5
getstatic java.time.format.DateTimeFormatterBuilder$OffsetIdPrinterParser.INSTANCE_ID_Z:Ljava/time/format/DateTimeFormatterBuilder$OffsetIdPrinterParser;
if_acmpne 14
12: iload 3
iconst_m1
ixor
13: ireturn
14: StackMap locals: java.time.format.DateTimeParseContext int
StackMap stack:
aload 1
aload 6
invokestatic java.time.ZoneId.of:(Ljava/lang/String;)Ljava/time/ZoneId;
invokevirtual java.time.format.DateTimeParseContext.setParsed:(Ljava/time/ZoneId;)V
15: iload 4
16: ireturn
17: StackMap locals:
StackMap stack:
aload 7
getstatic java.time.temporal.ChronoField.OFFSET_SECONDS:Ljava/time/temporal/ChronoField;
invokevirtual java.time.format.DateTimeParseContext.getParsed:(Ljava/time/temporal/TemporalField;)Ljava/lang/Long;
invokevirtual java.lang.Long.longValue:()J
l2i
istore 9
start local 9 18: iload 9
invokestatic java.time.ZoneOffset.ofTotalSeconds:(I)Ljava/time/ZoneOffset;
astore 10
start local 10 19: aload 1
aload 6
aload 10
invokestatic java.time.ZoneId.ofOffset:(Ljava/lang/String;Ljava/time/ZoneOffset;)Ljava/time/ZoneId;
invokevirtual java.time.format.DateTimeParseContext.setParsed:(Ljava/time/ZoneId;)V
20: iload 8
21: ireturn
end local 10 end local 9 22: StackMap locals:
StackMap stack: java.time.DateTimeException
pop
23: iload 3
iconst_m1
ixor
ireturn
end local 8 end local 7 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 24 0 this Ljava/time/format/DateTimeFormatterBuilder$ZoneIdPrinterParser;
0 24 1 context Ljava/time/format/DateTimeParseContext;
0 24 2 text Ljava/lang/CharSequence;
0 24 3 prefixPos I
0 24 4 position I
0 24 5 parser Ljava/time/format/DateTimeFormatterBuilder$OffsetIdPrinterParser;
1 24 6 prefix Ljava/lang/String;
9 24 7 newContext Ljava/time/format/DateTimeParseContext;
10 24 8 endPos I
18 22 9 offset I
19 22 10 zoneOffset Ljava/time/ZoneOffset;
Exception table:
from to target type
10 13 22 Class java.time.DateTimeException
14 16 22 Class java.time.DateTimeException
17 21 22 Class java.time.DateTimeException
MethodParameters:
Name Flags
context
text
prefixPos
position
parser
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
getfield java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser.description:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/time/format/DateTimeFormatterBuilder$ZoneIdPrinterParser;
}
SourceFile: "DateTimeFormatterBuilder.java"
NestHost: java.time.format.DateTimeFormatterBuilder
InnerClasses:
abstract DateTimePrinterParser = java.time.format.DateTimeFormatterBuilder$DateTimePrinterParser of java.time.format.DateTimeFormatterBuilder
final OffsetIdPrinterParser = java.time.format.DateTimeFormatterBuilder$OffsetIdPrinterParser of java.time.format.DateTimeFormatterBuilder
PrefixTree = java.time.format.DateTimeFormatterBuilder$PrefixTree of java.time.format.DateTimeFormatterBuilder
ZoneIdPrinterParser = java.time.format.DateTimeFormatterBuilder$ZoneIdPrinterParser of java.time.format.DateTimeFormatterBuilder
public SimpleImmutableEntry = java.util.AbstractMap$SimpleImmutableEntry of java.util.AbstractMap
public abstract Entry = java.util.Map$Entry of java.util.Map