public final class org.glassfish.jersey.internal.guava.Preconditions
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.jersey.internal.guava.Preconditions
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/internal/guava/Preconditions;
public static void checkArgument(boolean);
descriptor: (Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ifne 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 expression Z
MethodParameters:
Name Flags
expression
public static void checkArgument(boolean, java.lang.Object);
descriptor: (ZLjava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 0
ifne 2
1: new java.lang.IllegalArgumentException
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 expression Z
0 3 1 errorMessage Ljava/lang/Object;
MethodParameters:
Name Flags
expression
errorMessage
public static void checkArgument(boolean, java.lang.String, java.lang.Object[]);
descriptor: (ZLjava/lang/String;[Ljava/lang/Object;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
ifne 2
1: new java.lang.IllegalArgumentException
dup
aload 1
aload 2
invokestatic org.glassfish.jersey.internal.guava.Preconditions.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 expression Z
0 3 1 errorMessageTemplate Ljava/lang/String;
0 3 2 errorMessageArgs [Ljava/lang/Object;
MethodParameters:
Name Flags
expression
errorMessageTemplate
errorMessageArgs
public static void checkState(boolean);
descriptor: (Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ifne 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 expression Z
MethodParameters:
Name Flags
expression
public static void checkState(boolean, java.lang.Object);
descriptor: (ZLjava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 0
ifne 2
1: new java.lang.IllegalStateException
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 expression Z
0 3 1 errorMessage Ljava/lang/Object;
MethodParameters:
Name Flags
expression
errorMessage
public static void checkState(boolean, java.lang.String, java.lang.Object[]);
descriptor: (ZLjava/lang/String;[Ljava/lang/Object;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
ifne 2
1: new java.lang.IllegalStateException
dup
aload 1
aload 2
invokestatic org.glassfish.jersey.internal.guava.Preconditions.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 expression Z
0 3 1 errorMessageTemplate Ljava/lang/String;
0 3 2 errorMessageArgs [Ljava/lang/Object;
MethodParameters:
Name Flags
expression
errorMessageTemplate
errorMessageArgs
public static <T> T checkNotNull();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 reference TT;
Signature: <T:Ljava/lang/Object;>(TT;)TT;
MethodParameters:
Name Flags
reference
public static <T> T checkNotNull(T, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 reference TT;
0 3 1 errorMessage Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(TT;Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
reference
errorMessage
public static <T> T checkNotNull(T, java.lang.String, []);
descriptor: (Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
aload 1
aload 2
invokestatic org.glassfish.jersey.internal.guava.Preconditions.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 reference TT;
0 3 1 errorMessageTemplate Ljava/lang/String;
0 3 2 errorMessageArgs [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(TT;Ljava/lang/String;[Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
reference
errorMessageTemplate
errorMessageArgs
public static int checkElementIndex(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
ldc "index"
invokestatic org.glassfish.jersey.internal.guava.Preconditions.checkElementIndex:(IILjava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 index I
0 1 1 size I
MethodParameters:
Name Flags
index
size
private static int checkElementIndex(int, int, java.lang.String);
descriptor: (IILjava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
iflt 1
iload 0
iload 1
if_icmplt 2
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
iload 0
iload 1
aload 2
invokestatic org.glassfish.jersey.internal.guava.Preconditions.badElementIndex:(IILjava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 index I
0 3 1 size I
0 3 2 desc Ljava/lang/String;
MethodParameters:
Name Flags
index
size
desc
private static java.lang.String badElementIndex(int, int, java.lang.String);
descriptor: (IILjava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
ifge 2
1: ldc "%s (%s) must not be negative"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic org.glassfish.jersey.internal.guava.Preconditions.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
iload 1
ifge 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "negative size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
ldc "%s (%s) must be less than size (%s)"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic org.glassfish.jersey.internal.guava.Preconditions.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 index I
0 5 1 size I
0 5 2 desc Ljava/lang/String;
MethodParameters:
Name Flags
index
size
desc
public static int checkPositionIndex(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
ldc "index"
invokestatic org.glassfish.jersey.internal.guava.Preconditions.checkPositionIndex:(IILjava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 index I
0 1 1 size I
MethodParameters:
Name Flags
index
size
private static int checkPositionIndex(int, int, java.lang.String);
descriptor: (IILjava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
iflt 1
iload 0
iload 1
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
iload 0
iload 1
aload 2
invokestatic org.glassfish.jersey.internal.guava.Preconditions.badPositionIndex:(IILjava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 index I
0 3 1 size I
0 3 2 desc Ljava/lang/String;
MethodParameters:
Name Flags
index
size
desc
private static java.lang.String badPositionIndex(int, int, java.lang.String);
descriptor: (IILjava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
ifge 2
1: ldc "%s (%s) must not be negative"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic org.glassfish.jersey.internal.guava.Preconditions.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
iload 1
ifge 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "negative size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
ldc "%s (%s) must not be greater than size (%s)"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic org.glassfish.jersey.internal.guava.Preconditions.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 index I
0 5 1 size I
0 5 2 desc Ljava/lang/String;
MethodParameters:
Name Flags
index
size
desc
public static void checkPositionIndexes(int, int, int);
descriptor: (III)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
iflt 1
iload 1
iload 0
if_icmplt 1
iload 1
iload 2
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
iload 0
iload 1
iload 2
invokestatic org.glassfish.jersey.internal.guava.Preconditions.badPositionIndexes:(III)Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 start I
0 3 1 end I
0 3 2 size I
MethodParameters:
Name Flags
start
end
size
private static java.lang.String badPositionIndexes(int, int, int);
descriptor: (III)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
iflt 1
iload 0
iload 2
if_icmple 2
1: StackMap locals:
StackMap stack:
iload 0
iload 2
ldc "start index"
invokestatic org.glassfish.jersey.internal.guava.Preconditions.badPositionIndex:(IILjava/lang/String;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
iload 1
iflt 3
iload 1
iload 2
if_icmple 4
3: StackMap locals:
StackMap stack:
iload 1
iload 2
ldc "end index"
invokestatic org.glassfish.jersey.internal.guava.Preconditions.badPositionIndex:(IILjava/lang/String;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
ldc "end index (%s) must not be less than start index (%s)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic org.glassfish.jersey.internal.guava.Preconditions.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 start I
0 5 1 end I
0 5 2 size I
MethodParameters:
Name Flags
start
end
size
private static java.lang.String format(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
astore 0
1: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
bipush 16
aload 1
arraylength
imul
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 11
5: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
aload 0
ldc "%s"
iload 3
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
istore 5
start local 5 6: iload 5
iconst_m1
if_icmpne 8
7: goto 12
8: StackMap locals: int
StackMap stack:
aload 2
aload 0
iload 3
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 2
aload 1
iload 4
iinc 4 1
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
10: iload 5
iconst_2
iadd
istore 3
end local 5 11: StackMap locals:
StackMap stack:
iload 4
aload 1
arraylength
if_icmplt 5
12: StackMap locals:
StackMap stack:
aload 2
aload 0
iload 3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: iload 4
aload 1
arraylength
if_icmpge 21
14: aload 2
ldc " ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 2
aload 1
iload 4
iinc 4 1
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
16: goto 19
17: StackMap locals:
StackMap stack:
aload 2
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: aload 2
aload 1
iload 4
iinc 4 1
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
19: StackMap locals:
StackMap stack:
iload 4
aload 1
arraylength
if_icmplt 17
20: aload 2
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
21: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
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 template Ljava/lang/String;
0 22 1 args [Ljava/lang/Object;
2 22 2 builder Ljava/lang/StringBuilder;
3 22 3 templateStart I
4 22 4 i I
6 11 5 placeholderStart I
MethodParameters:
Name Flags
template
args
}
SourceFile: "Preconditions.java"