public class org.apache.cassandra.cql3.Lists$Literal extends org.apache.cassandra.cql3.Term$Raw
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.Lists$Literal
super_class: org.apache.cassandra.cql3.Term$Raw
{
private final java.util.List<org.apache.cassandra.cql3.Term$Raw> elements;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/cql3/Term$Raw;>;
public void <init>(java.util.List<org.apache.cassandra.cql3.Term$Raw>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.cassandra.cql3.Term$Raw.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.cql3.Lists$Literal.elements:Ljava/util/List;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/Lists$Literal;
0 3 1 elements Ljava/util/List<Lorg/apache/cassandra/cql3/Term$Raw;>;
Signature: (Ljava/util/List<Lorg/apache/cassandra/cql3/Term$Raw;>;)V
MethodParameters:
Name Flags
elements
public org.apache.cassandra.cql3.Term prepare(java.lang.String, org.apache.cassandra.cql3.ColumnSpecification);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/Term;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.apache.cassandra.cql3.Lists$Literal.validateAssignableTo:(Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)V
1: aload 2
invokestatic org.apache.cassandra.cql3.Lists.valueSpecOf:(Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/ColumnSpecification;
astore 3
start local 3 2: new java.util.ArrayList
dup
aload 0
getfield org.apache.cassandra.cql3.Lists$Literal.elements:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 3: iconst_1
istore 5
start local 5 4: aload 0
getfield org.apache.cassandra.cql3.Lists$Literal.elements:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 12
StackMap locals: org.apache.cassandra.cql3.Lists$Literal java.lang.String org.apache.cassandra.cql3.ColumnSpecification org.apache.cassandra.cql3.ColumnSpecification java.util.List int top java.util.Iterator
StackMap stack:
5: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.Term$Raw
astore 6
start local 6 6: aload 6
aload 1
aload 3
invokevirtual org.apache.cassandra.cql3.Term$Raw.prepare:(Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/Term;
astore 8
start local 8 7: aload 8
invokeinterface org.apache.cassandra.cql3.Term.containsBindMarker:()Z
ifeq 9
8: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid list literal for %s: bind variables are not supported inside collection literals"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
getfield org.apache.cassandra.cql3.ColumnSpecification.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
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
athrow
9: StackMap locals: org.apache.cassandra.cql3.Lists$Literal java.lang.String org.apache.cassandra.cql3.ColumnSpecification org.apache.cassandra.cql3.ColumnSpecification java.util.List int org.apache.cassandra.cql3.Term$Raw java.util.Iterator org.apache.cassandra.cql3.Term
StackMap stack:
aload 8
instanceof org.apache.cassandra.cql3.Term$NonTerminal
ifeq 11
10: iconst_0
istore 5
11: StackMap locals:
StackMap stack:
aload 4
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 6 12: StackMap locals: org.apache.cassandra.cql3.Lists$Literal java.lang.String org.apache.cassandra.cql3.ColumnSpecification org.apache.cassandra.cql3.ColumnSpecification java.util.List int top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
13: new org.apache.cassandra.cql3.Lists$DelayedValue
dup
aload 4
invokespecial org.apache.cassandra.cql3.Lists$DelayedValue.<init>:(Ljava/util/List;)V
astore 6
start local 6 14: iload 5
ifeq 15
aload 6
getstatic org.apache.cassandra.cql3.QueryOptions.DEFAULT:Lorg/apache/cassandra/cql3/QueryOptions;
invokevirtual org.apache.cassandra.cql3.Lists$DelayedValue.bind:(Lorg/apache/cassandra/cql3/QueryOptions;)Lorg/apache/cassandra/cql3/Term$Terminal;
goto 16
StackMap locals: org.apache.cassandra.cql3.Lists$Literal java.lang.String org.apache.cassandra.cql3.ColumnSpecification org.apache.cassandra.cql3.ColumnSpecification java.util.List int org.apache.cassandra.cql3.Lists$DelayedValue
StackMap stack:
15: aload 6
StackMap locals:
StackMap stack: org.apache.cassandra.cql3.Term
16: areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/cassandra/cql3/Lists$Literal;
0 17 1 keyspace Ljava/lang/String;
0 17 2 receiver Lorg/apache/cassandra/cql3/ColumnSpecification;
2 17 3 valueSpec Lorg/apache/cassandra/cql3/ColumnSpecification;
3 17 4 values Ljava/util/List<Lorg/apache/cassandra/cql3/Term;>;
4 17 5 allTerminal Z
6 12 6 rt Lorg/apache/cassandra/cql3/Term$Raw;
7 12 8 t Lorg/apache/cassandra/cql3/Term;
14 17 6 value Lorg/apache/cassandra/cql3/Lists$DelayedValue;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
keyspace
receiver
private void validateAssignableTo(java.lang.String, org.apache.cassandra.cql3.ColumnSpecification);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getfield org.apache.cassandra.cql3.ColumnSpecification.type:Lorg/apache/cassandra/db/marshal/AbstractType;
instanceof org.apache.cassandra.db.marshal.ListType
ifne 2
1: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid list literal for %s of type %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
getfield org.apache.cassandra.cql3.ColumnSpecification.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
dup
iconst_1
aload 2
getfield org.apache.cassandra.cql3.ColumnSpecification.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.asCQL3Type:()Lorg/apache/cassandra/cql3/CQL3Type;
aastore
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
athrow
2: StackMap locals:
StackMap stack:
aload 2
invokestatic org.apache.cassandra.cql3.Lists.valueSpecOf:(Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/ColumnSpecification;
astore 3
start local 3 3: aload 0
getfield org.apache.cassandra.cql3.Lists$Literal.elements:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: org.apache.cassandra.cql3.Lists$Literal java.lang.String org.apache.cassandra.cql3.ColumnSpecification org.apache.cassandra.cql3.ColumnSpecification top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.Term$Raw
astore 4
start local 4 5: aload 4
aload 1
aload 3
invokevirtual org.apache.cassandra.cql3.Term$Raw.testAssignment:(Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
invokevirtual org.apache.cassandra.cql3.AssignmentTestable$TestResult.isAssignable:()Z
ifne 7
6: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid list literal for %s: value %s is not of type %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 2
getfield org.apache.cassandra.cql3.ColumnSpecification.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
dup
iconst_1
aload 4
aastore
dup
iconst_2
aload 3
getfield org.apache.cassandra.cql3.ColumnSpecification.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.asCQL3Type:()Lorg/apache/cassandra/cql3/CQL3Type;
aastore
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
athrow
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/cql3/Lists$Literal;
0 9 1 keyspace Ljava/lang/String;
0 9 2 receiver Lorg/apache/cassandra/cql3/ColumnSpecification;
3 9 3 valueSpec Lorg/apache/cassandra/cql3/ColumnSpecification;
5 7 4 rt Lorg/apache/cassandra/cql3/Term$Raw;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
keyspace
receiver
public org.apache.cassandra.cql3.AssignmentTestable$TestResult testAssignment(java.lang.String, org.apache.cassandra.cql3.ColumnSpecification);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getfield org.apache.cassandra.cql3.ColumnSpecification.type:Lorg/apache/cassandra/db/marshal/AbstractType;
instanceof org.apache.cassandra.db.marshal.ListType
ifne 2
1: getstatic org.apache.cassandra.cql3.AssignmentTestable$TestResult.NOT_ASSIGNABLE:Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.Lists$Literal.elements:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
3: getstatic org.apache.cassandra.cql3.AssignmentTestable$TestResult.WEAKLY_ASSIGNABLE:Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
areturn
4: StackMap locals:
StackMap stack:
aload 2
invokestatic org.apache.cassandra.cql3.Lists.valueSpecOf:(Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/ColumnSpecification;
astore 3
start local 3 5: aload 1
aload 3
aload 0
getfield org.apache.cassandra.cql3.Lists$Literal.elements:Ljava/util/List;
invokestatic org.apache.cassandra.cql3.AssignmentTestable$TestResult.testAll:(Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;Ljava/util/Collection;)Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/cql3/Lists$Literal;
0 6 1 keyspace Ljava/lang/String;
0 6 2 receiver Lorg/apache/cassandra/cql3/ColumnSpecification;
5 6 3 valueSpec Lorg/apache/cassandra/cql3/ColumnSpecification;
MethodParameters:
Name Flags
keyspace
receiver
public org.apache.cassandra.db.marshal.AbstractType<?> getExactTypeIfKnown(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/db/marshal/AbstractType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.Lists$Literal.elements:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.apache.cassandra.cql3.Lists$Literal java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.Term$Raw
astore 2
start local 2 2: aload 2
aload 1
invokevirtual org.apache.cassandra.cql3.Term$Raw.getExactTypeIfKnown:(Ljava/lang/String;)Lorg/apache/cassandra/db/marshal/AbstractType;
astore 4
start local 4 3: aload 4
ifnull 5
4: aload 4
iconst_0
invokestatic org.apache.cassandra.db.marshal.ListType.getInstance:(Lorg/apache/cassandra/db/marshal/AbstractType;Z)Lorg/apache/cassandra/db/marshal/ListType;
areturn
end local 4 end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/cql3/Lists$Literal;
0 7 1 keyspace Ljava/lang/String;
2 5 2 term Lorg/apache/cassandra/cql3/Term$Raw;
3 5 4 type Lorg/apache/cassandra/db/marshal/AbstractType<*>;
Signature: (Ljava/lang/String;)Lorg/apache/cassandra/db/marshal/AbstractType<*>;
MethodParameters:
Name Flags
keyspace
public java.lang.String getText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.Lists$Literal.elements:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/apache/cassandra/cql3/Term$Raw.getText()Ljava/lang/String; (5)
(Lorg/apache/cassandra/cql3/Term$Raw;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
ldc ", "
ldc "["
ldc "]"
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/Lists$Literal;
}
SourceFile: "Lists.java"
NestHost: org.apache.cassandra.cql3.Lists
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final TestResult = org.apache.cassandra.cql3.AssignmentTestable$TestResult of org.apache.cassandra.cql3.AssignmentTestable
public DelayedValue = org.apache.cassandra.cql3.Lists$DelayedValue of org.apache.cassandra.cql3.Lists
public Literal = org.apache.cassandra.cql3.Lists$Literal of org.apache.cassandra.cql3.Lists
public abstract NonTerminal = org.apache.cassandra.cql3.Term$NonTerminal of org.apache.cassandra.cql3.Term
public abstract Raw = org.apache.cassandra.cql3.Term$Raw of org.apache.cassandra.cql3.Term
public abstract Terminal = org.apache.cassandra.cql3.Term$Terminal of org.apache.cassandra.cql3.Term