abstract class com.google.common.cache.CacheBuilderSpec$DurationParser implements com.google.common.cache.CacheBuilderSpec$ValueParser
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.cache.CacheBuilderSpec$DurationParser
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
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 Lcom/google/common/cache/CacheBuilderSpec$DurationParser;
protected abstract void parseDuration(com.google.common.cache.CacheBuilderSpec, long, java.util.concurrent.TimeUnit);
descriptor: (Lcom/google/common/cache/CacheBuilderSpec;JLjava/util/concurrent/TimeUnit;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
spec
duration
unit
public void parse(com.google.common.cache.CacheBuilderSpec, java.lang.String, java.lang.String);
descriptor: (Lcom/google/common/cache/CacheBuilderSpec;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 1
aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "value of key %s omitted"
aload 2
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;)V
3: aload 3
aload 3
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 4: iload 4
lookupswitch { // 4
100: 5
104: 7
109: 9
115: 11
default: 13
}
5: StackMap locals: int
StackMap stack:
getstatic java.util.concurrent.TimeUnit.DAYS:Ljava/util/concurrent/TimeUnit;
astore 5
start local 5 6: goto 17
end local 5 7: StackMap locals:
StackMap stack:
getstatic java.util.concurrent.TimeUnit.HOURS:Ljava/util/concurrent/TimeUnit;
astore 5
start local 5 8: goto 17
end local 5 9: StackMap locals:
StackMap stack:
getstatic java.util.concurrent.TimeUnit.MINUTES:Ljava/util/concurrent/TimeUnit;
astore 5
start local 5 10: goto 17
end local 5 11: StackMap locals:
StackMap stack:
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
astore 5
start local 5 12: goto 17
end local 5 13: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
14: ldc "key %s invalid format. was %s, must end with one of [dDhHmMsS]"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 3
aastore
15: invokestatic com.google.common.cache.CacheBuilderSpec.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
16: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
start local 5 17: StackMap locals: java.util.concurrent.TimeUnit
StackMap stack:
aload 3
iconst_0
aload 3
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 6
start local 6 18: aload 0
aload 1
lload 6
aload 5
invokevirtual com.google.common.cache.CacheBuilderSpec$DurationParser.parseDuration:(Lcom/google/common/cache/CacheBuilderSpec;JLjava/util/concurrent/TimeUnit;)V
end local 6 end local 5 end local 4 19: goto 24
StackMap locals: com.google.common.cache.CacheBuilderSpec$DurationParser com.google.common.cache.CacheBuilderSpec java.lang.String java.lang.String
StackMap stack: java.lang.NumberFormatException
20: pop
21: new java.lang.IllegalArgumentException
dup
22: ldc "key %s value set to %s, must be integer"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 3
aastore
invokestatic com.google.common.cache.CacheBuilderSpec.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
23: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/google/common/cache/CacheBuilderSpec$DurationParser;
0 25 1 spec Lcom/google/common/cache/CacheBuilderSpec;
0 25 2 key Ljava/lang/String;
0 25 3 value Ljava/lang/String;
4 19 4 lastChar C
6 7 5 timeUnit Ljava/util/concurrent/TimeUnit;
8 9 5 timeUnit Ljava/util/concurrent/TimeUnit;
10 11 5 timeUnit Ljava/util/concurrent/TimeUnit;
12 13 5 timeUnit Ljava/util/concurrent/TimeUnit;
17 19 5 timeUnit Ljava/util/concurrent/TimeUnit;
18 19 6 duration J
Exception table:
from to target type
3 19 20 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
spec
key
value
}
SourceFile: "CacheBuilderSpec.java"
NestHost: com.google.common.cache.CacheBuilderSpec
InnerClasses:
abstract DurationParser = com.google.common.cache.CacheBuilderSpec$DurationParser of com.google.common.cache.CacheBuilderSpec
private abstract ValueParser = com.google.common.cache.CacheBuilderSpec$ValueParser of com.google.common.cache.CacheBuilderSpec