public final class org.apache.cassandra.cql3.statements.RequestValidations
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.cql3.statements.RequestValidations
super_class: java.lang.Object
{
public static void checkTrue(boolean, java.lang.String);
descriptor: (ZLjava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 0
aload 1
getstatic org.apache.commons.lang3.ArrayUtils.EMPTY_OBJECT_ARRAY:[Ljava/lang/Object;
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 expression Z
0 2 1 message Ljava/lang/String;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
expression
message
public static void checkTrue(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=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
ifne 2
1: aload 1
aload 2
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.invalidRequest:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
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 messageTemplate Ljava/lang/String;
0 3 2 messageArgs [Ljava/lang/Object;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
expression
messageTemplate
messageArgs
public static void checkContainsNoDuplicates(java.util.List<?>, java.lang.String);
descriptor: (Ljava/util/List;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.util.HashSet
dup
aload 0
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
invokevirtual java.util.HashSet.size:()I
aload 0
invokeinterface java.util.List.size:()I
if_icmpeq 2
1: aload 1
iconst_0
anewarray java.lang.Object
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.invalidRequest:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 list Ljava/util/List<*>;
0 3 1 message Ljava/lang/String;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
Signature: (Ljava/util/List<*>;Ljava/lang/String;)V
MethodParameters:
Name Flags
list
message
public static <E> void checkContainsOnly(java.util.List<E>, java.util.List<E>, java.lang.String);
descriptor: (Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
aload 0
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 3
start local 3 1: aload 3
aload 1
invokeinterface java.util.List.removeAll:(Ljava/util/Collection;)Z
pop
2: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifne 4
3: aload 2
iconst_0
anewarray java.lang.Object
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.invalidRequest:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
4: StackMap locals: java.util.List
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 list Ljava/util/List<TE;>;
0 5 1 expectedElements Ljava/util/List<TE;>;
0 5 2 message Ljava/lang/String;
1 5 3 copy Ljava/util/List<TE;>;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
Signature: <E:Ljava/lang/Object;>(Ljava/util/List<TE;>;Ljava/util/List<TE;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
list
expectedElements
message
public static void checkFalse(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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: aload 1
aload 2
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 expression Z
0 4 1 messageTemplate Ljava/lang/String;
0 4 2 messageArgs [Ljava/lang/Object;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
expression
messageTemplate
messageArgs
public static void checkFalse(boolean, java.lang.String);
descriptor: (ZLjava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: aload 1
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkTrue:(ZLjava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 expression Z
0 4 1 message Ljava/lang/String;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
expression
message
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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: aload 1
aload 2
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
3: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 object TT;
0 4 1 messageTemplate Ljava/lang/String;
0 4 2 messageArgs [Ljava/lang/Object;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
Signature: <T:Ljava/lang/Object;>(TT;Ljava/lang/String;[Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
object
messageTemplate
messageArgs
public static void checkBindValueSet(java.nio.ByteBuffer, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/nio/ByteBuffer;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic org.apache.cassandra.utils.ByteBufferUtil.UNSET_BYTE_BUFFER:Ljava/nio/ByteBuffer;
if_acmpeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: aload 1
aload 2
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 b Ljava/nio/ByteBuffer;
0 4 1 messageTemplate Ljava/lang/String;
0 4 2 messageArgs [Ljava/lang/Object;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
b
messageTemplate
messageArgs
public static <T> T checkNull(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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnonnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: aload 1
aload 2
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
3: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 object TT;
0 4 1 messageTemplate Ljava/lang/String;
0 4 2 messageArgs [Ljava/lang/Object;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
Signature: <T:Ljava/lang/Object;>(TT;Ljava/lang/String;[Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
object
messageTemplate
messageArgs
public static <T> T checkNull(T, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;)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
aload 1
getstatic org.apache.commons.lang3.ArrayUtils.EMPTY_OBJECT_ARRAY:[Ljava/lang/Object;
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 object TT;
0 1 1 message Ljava/lang/String;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
Signature: <T:Ljava/lang/Object;>(TT;Ljava/lang/String;)TT;
MethodParameters:
Name Flags
object
message
public static org.apache.cassandra.exceptions.InvalidRequestException invalidRequest(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.exceptions.InvalidRequestException
dup
aload 0
aload 1
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 messageTemplate Ljava/lang/String;
0 1 1 messageArgs [Ljava/lang/Object;
MethodParameters:
Name Flags
messageTemplate
messageArgs
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/apache/cassandra/cql3/statements/RequestValidations;
}
SourceFile: "RequestValidations.java"