final class com.google.common.io.BaseEncoding$SeparatedBaseEncoding extends com.google.common.io.BaseEncoding
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.io.BaseEncoding$SeparatedBaseEncoding
super_class: com.google.common.io.BaseEncoding
{
private final com.google.common.io.BaseEncoding delegate;
descriptor: Lcom/google/common/io/BaseEncoding;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String separator;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int afterEveryChars;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(com.google.common.io.BaseEncoding, java.lang.String, int);
descriptor: (Lcom/google/common/io/BaseEncoding;Ljava/lang/String;I)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial com.google.common.io.BaseEncoding.<init>:()V
1: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.io.BaseEncoding
putfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.delegate:Lcom/google/common/io/BaseEncoding;
2: aload 0
aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
putfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.separator:Ljava/lang/String;
3: aload 0
iload 3
putfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.afterEveryChars:I
4: iload 3
ifle 5
iconst_1
goto 6
StackMap locals: com.google.common.io.BaseEncoding$SeparatedBaseEncoding com.google.common.io.BaseEncoding java.lang.String int
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: ldc "Cannot add a separator after every %s chars"
iload 3
7: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;I)V
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/io/BaseEncoding$SeparatedBaseEncoding;
0 9 1 delegate Lcom/google/common/io/BaseEncoding;
0 9 2 separator Ljava/lang/String;
0 9 3 afterEveryChars I
MethodParameters:
Name Flags
delegate
separator
afterEveryChars
java.lang.CharSequence trimTrailingPadding(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.delegate:Lcom/google/common/io/BaseEncoding;
aload 1
invokevirtual com.google.common.io.BaseEncoding.trimTrailingPadding:(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/BaseEncoding$SeparatedBaseEncoding;
0 1 1 chars Ljava/lang/CharSequence;
MethodParameters:
Name Flags
chars
int maxEncodedSize(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.delegate:Lcom/google/common/io/BaseEncoding;
iload 1
invokevirtual com.google.common.io.BaseEncoding.maxEncodedSize:(I)I
istore 2
start local 2 1: iload 2
2: aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.separator:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_0
iload 2
iconst_1
isub
invokestatic java.lang.Math.max:(II)I
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.afterEveryChars:I
getstatic java.math.RoundingMode.FLOOR:Ljava/math/RoundingMode;
invokestatic com.google.common.math.IntMath.divide:(IILjava/math/RoundingMode;)I
imul
3: iadd
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/io/BaseEncoding$SeparatedBaseEncoding;
0 4 1 bytes I
1 4 2 unseparatedSize I
MethodParameters:
Name Flags
bytes
public java.io.OutputStream encodingStream(java.io.Writer);
descriptor: (Ljava/io/Writer;)Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.delegate:Lcom/google/common/io/BaseEncoding;
aload 1
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.separator:Ljava/lang/String;
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.afterEveryChars:I
invokestatic com.google.common.io.BaseEncoding$SeparatedBaseEncoding.separatingWriter:(Ljava/io/Writer;Ljava/lang/String;I)Ljava/io/Writer;
invokevirtual com.google.common.io.BaseEncoding.encodingStream:(Ljava/io/Writer;)Ljava/io/OutputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/BaseEncoding$SeparatedBaseEncoding;
0 1 1 output Ljava/io/Writer;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
output final
void encodeTo(java.lang.Appendable, byte[], int, int);
descriptor: (Ljava/lang/Appendable;[BII)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.delegate:Lcom/google/common/io/BaseEncoding;
aload 1
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.separator:Ljava/lang/String;
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.afterEveryChars:I
invokestatic com.google.common.io.BaseEncoding$SeparatedBaseEncoding.separatingAppendable:(Ljava/lang/Appendable;Ljava/lang/String;I)Ljava/lang/Appendable;
aload 2
iload 3
iload 4
invokevirtual com.google.common.io.BaseEncoding.encodeTo:(Ljava/lang/Appendable;[BII)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/io/BaseEncoding$SeparatedBaseEncoding;
0 2 1 target Ljava/lang/Appendable;
0 2 2 bytes [B
0 2 3 off I
0 2 4 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target
bytes
off
len
int maxDecodedSize(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.delegate:Lcom/google/common/io/BaseEncoding;
iload 1
invokevirtual com.google.common.io.BaseEncoding.maxDecodedSize:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/BaseEncoding$SeparatedBaseEncoding;
0 1 1 chars I
MethodParameters:
Name Flags
chars
public boolean canDecode(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 7
3: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 1
iload 3
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 4
start local 4 4: aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.separator:Ljava/lang/String;
iload 4
invokevirtual java.lang.String.indexOf:(I)I
ifge 6
5: aload 2
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 4 6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 1
invokeinterface java.lang.CharSequence.length:()I
if_icmplt 3
end local 3 8: aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.delegate:Lcom/google/common/io/BaseEncoding;
aload 2
invokevirtual com.google.common.io.BaseEncoding.canDecode:(Ljava/lang/CharSequence;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/io/BaseEncoding$SeparatedBaseEncoding;
0 9 1 chars Ljava/lang/CharSequence;
1 9 2 builder Ljava/lang/StringBuilder;
2 8 3 i I
4 6 4 c C
MethodParameters:
Name Flags
chars
int decodeTo(byte[], java.lang.CharSequence);
descriptor: ([BLjava/lang/CharSequence;)I
flags: (0x0000)
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
aload 2
invokeinterface java.lang.CharSequence.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 7
3: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 2
iload 4
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 5
start local 5 4: aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.separator:Ljava/lang/String;
iload 5
invokevirtual java.lang.String.indexOf:(I)I
ifge 6
5: aload 3
iload 5
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 5 6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
aload 2
invokeinterface java.lang.CharSequence.length:()I
if_icmplt 3
end local 4 8: aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.delegate:Lcom/google/common/io/BaseEncoding;
aload 1
aload 3
invokevirtual com.google.common.io.BaseEncoding.decodeTo:([BLjava/lang/CharSequence;)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/io/BaseEncoding$SeparatedBaseEncoding;
0 9 1 target [B
0 9 2 chars Ljava/lang/CharSequence;
1 9 3 stripped Ljava/lang/StringBuilder;
2 8 4 i I
4 6 5 c C
Exceptions:
throws com.google.common.io.BaseEncoding$DecodingException
MethodParameters:
Name Flags
target
chars
public java.io.InputStream decodingStream(java.io.Reader);
descriptor: (Ljava/io/Reader;)Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.delegate:Lcom/google/common/io/BaseEncoding;
aload 1
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.separator:Ljava/lang/String;
invokestatic com.google.common.io.BaseEncoding$SeparatedBaseEncoding.ignoringReader:(Ljava/io/Reader;Ljava/lang/String;)Ljava/io/Reader;
invokevirtual com.google.common.io.BaseEncoding.decodingStream:(Ljava/io/Reader;)Ljava/io/InputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/BaseEncoding$SeparatedBaseEncoding;
0 1 1 reader Ljava/io/Reader;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
reader final
public com.google.common.io.BaseEncoding omitPadding();
descriptor: ()Lcom/google/common/io/BaseEncoding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.delegate:Lcom/google/common/io/BaseEncoding;
invokevirtual com.google.common.io.BaseEncoding.omitPadding:()Lcom/google/common/io/BaseEncoding;
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.separator:Ljava/lang/String;
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.afterEveryChars:I
invokevirtual com.google.common.io.BaseEncoding.withSeparator:(Ljava/lang/String;I)Lcom/google/common/io/BaseEncoding;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/BaseEncoding$SeparatedBaseEncoding;
public com.google.common.io.BaseEncoding withPadChar(char);
descriptor: (C)Lcom/google/common/io/BaseEncoding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.delegate:Lcom/google/common/io/BaseEncoding;
iload 1
invokevirtual com.google.common.io.BaseEncoding.withPadChar:(C)Lcom/google/common/io/BaseEncoding;
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.separator:Ljava/lang/String;
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.afterEveryChars:I
invokevirtual com.google.common.io.BaseEncoding.withSeparator:(Ljava/lang/String;I)Lcom/google/common/io/BaseEncoding;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/BaseEncoding$SeparatedBaseEncoding;
0 1 1 padChar C
MethodParameters:
Name Flags
padChar
public com.google.common.io.BaseEncoding withSeparator(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Lcom/google/common/io/BaseEncoding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
ldc "Already have a separator"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/BaseEncoding$SeparatedBaseEncoding;
0 1 1 separator Ljava/lang/String;
0 1 2 afterEveryChars I
MethodParameters:
Name Flags
separator
afterEveryChars
public com.google.common.io.BaseEncoding upperCase();
descriptor: ()Lcom/google/common/io/BaseEncoding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.delegate:Lcom/google/common/io/BaseEncoding;
invokevirtual com.google.common.io.BaseEncoding.upperCase:()Lcom/google/common/io/BaseEncoding;
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.separator:Ljava/lang/String;
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.afterEveryChars:I
invokevirtual com.google.common.io.BaseEncoding.withSeparator:(Ljava/lang/String;I)Lcom/google/common/io/BaseEncoding;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/BaseEncoding$SeparatedBaseEncoding;
public com.google.common.io.BaseEncoding lowerCase();
descriptor: ()Lcom/google/common/io/BaseEncoding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.delegate:Lcom/google/common/io/BaseEncoding;
invokevirtual com.google.common.io.BaseEncoding.lowerCase:()Lcom/google/common/io/BaseEncoding;
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.separator:Ljava/lang/String;
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.afterEveryChars:I
invokevirtual com.google.common.io.BaseEncoding.withSeparator:(Ljava/lang/String;I)Lcom/google/common/io/BaseEncoding;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/BaseEncoding$SeparatedBaseEncoding;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.delegate:Lcom/google/common/io/BaseEncoding;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ".withSeparator(\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.google.common.io.BaseEncoding$SeparatedBaseEncoding.afterEveryChars:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/BaseEncoding$SeparatedBaseEncoding;
}
SourceFile: "BaseEncoding.java"
NestHost: com.google.common.io.BaseEncoding
InnerClasses:
public final DecodingException = com.google.common.io.BaseEncoding$DecodingException of com.google.common.io.BaseEncoding
final SeparatedBaseEncoding = com.google.common.io.BaseEncoding$SeparatedBaseEncoding of com.google.common.io.BaseEncoding