final class com.google.common.net.MediaType$Tokenizer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.net.MediaType$Tokenizer
super_class: java.lang.Object
{
final java.lang.String input;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
int position;
descriptor: I
flags: (0x0000)
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.google.common.net.MediaType$Tokenizer.position:I
2: aload 0
aload 1
putfield com.google.common.net.MediaType$Tokenizer.input:Ljava/lang/String;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/net/MediaType$Tokenizer;
0 4 1 input Ljava/lang/String;
MethodParameters:
Name Flags
input
java.lang.String consumeTokenIfPresent(com.google.common.base.CharMatcher);
descriptor: (Lcom/google/common/base/CharMatcher;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.net.MediaType$Tokenizer.hasMore:()Z
invokestatic com.google.common.base.Preconditions.checkState:(Z)V
1: aload 0
getfield com.google.common.net.MediaType$Tokenizer.position:I
istore 2
start local 2 2: aload 0
aload 1
invokevirtual com.google.common.base.CharMatcher.negate:()Lcom/google/common/base/CharMatcher;
aload 0
getfield com.google.common.net.MediaType$Tokenizer.input:Ljava/lang/String;
iload 2
invokevirtual com.google.common.base.CharMatcher.indexIn:(Ljava/lang/CharSequence;I)I
putfield com.google.common.net.MediaType$Tokenizer.position:I
3: aload 0
invokevirtual com.google.common.net.MediaType$Tokenizer.hasMore:()Z
ifeq 4
aload 0
getfield com.google.common.net.MediaType$Tokenizer.input:Ljava/lang/String;
iload 2
aload 0
getfield com.google.common.net.MediaType$Tokenizer.position:I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 5
StackMap locals: int
StackMap stack:
4: aload 0
getfield com.google.common.net.MediaType$Tokenizer.input:Ljava/lang/String;
iload 2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
5: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/net/MediaType$Tokenizer;
0 6 1 matcher Lcom/google/common/base/CharMatcher;
2 6 2 startPosition I
MethodParameters:
Name Flags
matcher
java.lang.String consumeToken(com.google.common.base.CharMatcher);
descriptor: (Lcom/google/common/base/CharMatcher;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.net.MediaType$Tokenizer.position:I
istore 2
start local 2 1: aload 0
aload 1
invokevirtual com.google.common.net.MediaType$Tokenizer.consumeTokenIfPresent:(Lcom/google/common/base/CharMatcher;)Ljava/lang/String;
astore 3
start local 3 2: aload 0
getfield com.google.common.net.MediaType$Tokenizer.position:I
iload 2
if_icmpeq 3
iconst_1
goto 4
StackMap locals: int java.lang.String
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/net/MediaType$Tokenizer;
0 6 1 matcher Lcom/google/common/base/CharMatcher;
1 6 2 startPosition I
2 6 3 token Ljava/lang/String;
MethodParameters:
Name Flags
matcher
char consumeCharacter(com.google.common.base.CharMatcher);
descriptor: (Lcom/google/common/base/CharMatcher;)C
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.net.MediaType$Tokenizer.hasMore:()Z
invokestatic com.google.common.base.Preconditions.checkState:(Z)V
1: aload 0
invokevirtual com.google.common.net.MediaType$Tokenizer.previewChar:()C
istore 2
start local 2 2: aload 1
iload 2
invokevirtual com.google.common.base.CharMatcher.matches:(C)Z
invokestatic com.google.common.base.Preconditions.checkState:(Z)V
3: aload 0
dup
getfield com.google.common.net.MediaType$Tokenizer.position:I
iconst_1
iadd
putfield com.google.common.net.MediaType$Tokenizer.position:I
4: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/net/MediaType$Tokenizer;
0 5 1 matcher Lcom/google/common/base/CharMatcher;
2 5 2 c C
MethodParameters:
Name Flags
matcher
char consumeCharacter(char);
descriptor: (C)C
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.net.MediaType$Tokenizer.hasMore:()Z
invokestatic com.google.common.base.Preconditions.checkState:(Z)V
1: aload 0
invokevirtual com.google.common.net.MediaType$Tokenizer.previewChar:()C
iload 1
if_icmpne 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
4: aload 0
dup
getfield com.google.common.net.MediaType$Tokenizer.position:I
iconst_1
iadd
putfield com.google.common.net.MediaType$Tokenizer.position:I
5: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/net/MediaType$Tokenizer;
0 6 1 c C
MethodParameters:
Name Flags
c
char previewChar();
descriptor: ()C
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.net.MediaType$Tokenizer.hasMore:()Z
invokestatic com.google.common.base.Preconditions.checkState:(Z)V
1: aload 0
getfield com.google.common.net.MediaType$Tokenizer.input:Ljava/lang/String;
aload 0
getfield com.google.common.net.MediaType$Tokenizer.position:I
invokevirtual java.lang.String.charAt:(I)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/net/MediaType$Tokenizer;
boolean hasMore();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.net.MediaType$Tokenizer.position:I
iflt 1
aload 0
getfield com.google.common.net.MediaType$Tokenizer.position:I
aload 0
getfield com.google.common.net.MediaType$Tokenizer.input:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/net/MediaType$Tokenizer;
}
SourceFile: "MediaType.java"
NestHost: com.google.common.net.MediaType
InnerClasses:
private final Tokenizer = com.google.common.net.MediaType$Tokenizer of com.google.common.net.MediaType