public final class org.apache.cassandra.cql3.functions.FunctionResolver
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.cql3.functions.FunctionResolver
super_class: java.lang.Object
{
private static final org.apache.cassandra.cql3.functions.FunctionName TOKEN_FUNCTION_NAME;
descriptor: Lorg/apache/cassandra/cql3/functions/FunctionName;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$org$apache$cassandra$cql3$AssignmentTestable$TestResult;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "token"
invokestatic org.apache.cassandra.cql3.functions.FunctionName.nativeFunction:(Ljava/lang/String;)Lorg/apache/cassandra/cql3/functions/FunctionName;
putstatic org.apache.cassandra.cql3.functions.FunctionResolver.TOKEN_FUNCTION_NAME:Lorg/apache/cassandra/cql3/functions/FunctionName;
return
LocalVariableTable:
Start End Slot Name Signature
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/functions/FunctionResolver;
public static org.apache.cassandra.cql3.ColumnSpecification makeArgSpec(java.lang.String, java.lang.String, org.apache.cassandra.cql3.functions.Function, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/cql3/functions/Function;I)Lorg/apache/cassandra/cql3/ColumnSpecification;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.apache.cassandra.cql3.ColumnSpecification
dup
aload 0
1: aload 1
2: new org.apache.cassandra.cql3.ColumnIdentifier
dup
new java.lang.StringBuilder
dup
ldc "arg"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 2
invokeinterface org.apache.cassandra.cql3.functions.Function.name:()Lorg/apache/cassandra/cql3/functions/FunctionName;
invokevirtual org.apache.cassandra.cql3.functions.FunctionName.toString:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
invokespecial org.apache.cassandra.cql3.ColumnIdentifier.<init>:(Ljava/lang/String;Z)V
3: aload 2
invokeinterface org.apache.cassandra.cql3.functions.Function.argTypes:()Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.db.marshal.AbstractType
4: invokespecial org.apache.cassandra.cql3.ColumnSpecification.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnIdentifier;Lorg/apache/cassandra/db/marshal/AbstractType;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 receiverKs Ljava/lang/String;
0 5 1 receiverCf Ljava/lang/String;
0 5 2 fun Lorg/apache/cassandra/cql3/functions/Function;
0 5 3 i I
MethodParameters:
Name Flags
receiverKs
receiverCf
fun
i
public static org.apache.cassandra.cql3.functions.Function get(java.lang.String, org.apache.cassandra.cql3.functions.FunctionName, java.util.List<? extends org.apache.cassandra.cql3.AssignmentTestable>, java.lang.String, java.lang.String, org.apache.cassandra.db.marshal.AbstractType<?>);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/db/marshal/AbstractType;)Lorg/apache/cassandra/cql3/functions/Function;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
getstatic org.apache.cassandra.cql3.functions.FunctionResolver.TOKEN_FUNCTION_NAME:Lorg/apache/cassandra/cql3/functions/FunctionName;
invokevirtual org.apache.cassandra.cql3.functions.FunctionName.equalsNativeFunction:(Lorg/apache/cassandra/cql3/functions/FunctionName;)Z
ifeq 2
1: new org.apache.cassandra.cql3.functions.TokenFct
dup
getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
aload 3
aload 4
invokevirtual org.apache.cassandra.config.Schema.getCFMetaData:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
invokespecial org.apache.cassandra.cql3.functions.TokenFct.<init>:(Lorg/apache/cassandra/config/CFMetaData;)V
areturn
2: StackMap locals:
StackMap stack:
aload 1
getstatic org.apache.cassandra.cql3.functions.ToJsonFct.NAME:Lorg/apache/cassandra/cql3/functions/FunctionName;
invokevirtual org.apache.cassandra.cql3.functions.FunctionName.equalsNativeFunction:(Lorg/apache/cassandra/cql3/functions/FunctionName;)Z
ifeq 4
3: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "toJson() may only be used within the selection clause of SELECT statements"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
getstatic org.apache.cassandra.cql3.functions.FromJsonFct.NAME:Lorg/apache/cassandra/cql3/functions/FunctionName;
invokevirtual org.apache.cassandra.cql3.functions.FunctionName.equalsNativeFunction:(Lorg/apache/cassandra/cql3/functions/FunctionName;)Z
ifeq 8
5: aload 5
ifnonnull 7
6: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "fromJson() cannot be used in the selection clause of a SELECT statement"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 5
invokestatic org.apache.cassandra.cql3.functions.FromJsonFct.getInstance:(Lorg/apache/cassandra/db/marshal/AbstractType;)Lorg/apache/cassandra/cql3/functions/FromJsonFct;
areturn
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.cql3.functions.FunctionName.hasKeyspace:()Z
ifne 13
9: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 10: aload 6
getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
aload 1
invokevirtual org.apache.cassandra.cql3.functions.FunctionName.asNativeFunction:()Lorg/apache/cassandra/cql3/functions/FunctionName;
invokevirtual org.apache.cassandra.config.Schema.getFunctions:(Lorg/apache/cassandra/cql3/functions/FunctionName;)Ljava/util/Collection;
invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
pop
11: aload 6
getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
new org.apache.cassandra.cql3.functions.FunctionName
dup
aload 0
aload 1
getfield org.apache.cassandra.cql3.functions.FunctionName.name:Ljava/lang/String;
invokespecial org.apache.cassandra.cql3.functions.FunctionName.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual org.apache.cassandra.config.Schema.getFunctions:(Lorg/apache/cassandra/cql3/functions/FunctionName;)Ljava/util/Collection;
invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
pop
12: goto 14
end local 6 13: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
aload 1
invokevirtual org.apache.cassandra.config.Schema.getFunctions:(Lorg/apache/cassandra/cql3/functions/FunctionName;)Ljava/util/Collection;
astore 6
start local 6 14: StackMap locals: java.util.Collection
StackMap stack:
aload 6
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 16
15: aconst_null
areturn
16: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Collection.size:()I
iconst_1
if_icmpne 20
17: aload 6
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.functions.Function
astore 7
start local 7 18: aload 0
aload 7
aload 2
aload 3
aload 4
invokestatic org.apache.cassandra.cql3.functions.FunctionResolver.validateTypes:(Ljava/lang/String;Lorg/apache/cassandra/cql3/functions/Function;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V
19: aload 7
areturn
end local 7 20: StackMap locals:
StackMap stack:
aconst_null
astore 7
start local 7 21: aload 6
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 9
goto 29
StackMap locals: java.lang.String org.apache.cassandra.cql3.functions.FunctionName java.util.List java.lang.String java.lang.String org.apache.cassandra.db.marshal.AbstractType java.util.Collection java.util.List top java.util.Iterator
StackMap stack:
22: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.functions.Function
astore 8
start local 8 23: aload 0
aload 8
aload 2
aload 3
aload 4
invokestatic org.apache.cassandra.cql3.functions.FunctionResolver.matchAguments:(Ljava/lang/String;Lorg/apache/cassandra/cql3/functions/Function;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
astore 10
start local 10 24: invokestatic org.apache.cassandra.cql3.functions.FunctionResolver.$SWITCH_TABLE$org$apache$cassandra$cql3$AssignmentTestable$TestResult:()[I
aload 10
invokevirtual org.apache.cassandra.cql3.AssignmentTestable$TestResult.ordinal:()I
iaload
tableswitch { // 1 - 2
1: 25
2: 26
default: 29
}
25: StackMap locals: java.lang.String org.apache.cassandra.cql3.functions.FunctionName java.util.List java.lang.String java.lang.String org.apache.cassandra.db.marshal.AbstractType java.util.Collection java.util.List org.apache.cassandra.cql3.functions.Function java.util.Iterator org.apache.cassandra.cql3.AssignmentTestable$TestResult
StackMap stack:
aload 8
areturn
26: StackMap locals:
StackMap stack:
aload 7
ifnonnull 28
27: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
28: StackMap locals:
StackMap stack:
aload 7
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 8 29: StackMap locals: java.lang.String org.apache.cassandra.cql3.functions.FunctionName java.util.List java.lang.String java.lang.String org.apache.cassandra.db.marshal.AbstractType java.util.Collection java.util.List top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 22
30: aload 7
ifnonnull 34
31: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid call to function %s, none of its type signatures match (known type signatures: %s)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
32: aload 1
aastore
dup
iconst_1
aload 6
invokestatic org.apache.cassandra.cql3.functions.FunctionResolver.format:(Ljava/util/Collection;)Ljava/lang/String;
aastore
33: 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
34: StackMap locals: java.lang.String org.apache.cassandra.cql3.functions.FunctionName java.util.List java.lang.String java.lang.String org.apache.cassandra.db.marshal.AbstractType java.util.Collection java.util.List
StackMap stack:
aload 7
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 38
35: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Ambiguous call to function %s (can be matched by following signatures: %s): use type casts to disambiguate"
iconst_2
anewarray java.lang.Object
dup
iconst_0
36: aload 1
aastore
dup
iconst_1
aload 7
invokestatic org.apache.cassandra.cql3.functions.FunctionResolver.format:(Ljava/util/Collection;)Ljava/lang/String;
aastore
37: 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
38: StackMap locals:
StackMap stack:
aload 7
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.functions.Function
areturn
end local 7 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 39 0 keyspace Ljava/lang/String;
0 39 1 name Lorg/apache/cassandra/cql3/functions/FunctionName;
0 39 2 providedArgs Ljava/util/List<+Lorg/apache/cassandra/cql3/AssignmentTestable;>;
0 39 3 receiverKs Ljava/lang/String;
0 39 4 receiverCf Ljava/lang/String;
0 39 5 receiverType Lorg/apache/cassandra/db/marshal/AbstractType<*>;
10 13 6 candidates Ljava/util/Collection<Lorg/apache/cassandra/cql3/functions/Function;>;
14 39 6 candidates Ljava/util/Collection<Lorg/apache/cassandra/cql3/functions/Function;>;
18 20 7 fun Lorg/apache/cassandra/cql3/functions/Function;
21 39 7 compatibles Ljava/util/List<Lorg/apache/cassandra/cql3/functions/Function;>;
23 29 8 toTest Lorg/apache/cassandra/cql3/functions/Function;
24 29 10 r Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
Signature: (Ljava/lang/String;Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List<+Lorg/apache/cassandra/cql3/AssignmentTestable;>;Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/db/marshal/AbstractType<*>;)Lorg/apache/cassandra/cql3/functions/Function;
MethodParameters:
Name Flags
keyspace
name
providedArgs
receiverKs
receiverCf
receiverType
private static void validateTypes(java.lang.String, org.apache.cassandra.cql3.functions.Function, java.util.List<? extends org.apache.cassandra.cql3.AssignmentTestable>, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/cql3/functions/Function;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokeinterface java.util.List.size:()I
aload 1
invokeinterface org.apache.cassandra.cql3.functions.Function.argTypes:()Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpeq 2
1: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid number of arguments in call to function %s: %d required but %d provided"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface org.apache.cassandra.cql3.functions.Function.name:()Lorg/apache/cassandra/cql3/functions/FunctionName;
aastore
dup
iconst_1
aload 1
invokeinterface org.apache.cassandra.cql3.functions.Function.argTypes:()Ljava/util/List;
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 2
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
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:
iconst_0
istore 5
start local 5 3: goto 11
4: StackMap locals: int
StackMap stack:
aload 2
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.AssignmentTestable
astore 6
start local 6 5: aload 6
ifnonnull 7
6: goto 10
7: StackMap locals: org.apache.cassandra.cql3.AssignmentTestable
StackMap stack:
aload 3
aload 4
aload 1
iload 5
invokestatic org.apache.cassandra.cql3.functions.FunctionResolver.makeArgSpec:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/cql3/functions/Function;I)Lorg/apache/cassandra/cql3/ColumnSpecification;
astore 7
start local 7 8: aload 6
aload 0
aload 7
invokeinterface org.apache.cassandra.cql3.AssignmentTestable.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 10
9: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Type error: %s cannot be passed as argument %d of function %s of type %s"
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
dup
iconst_1
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 1
invokeinterface org.apache.cassandra.cql3.functions.Function.name:()Lorg/apache/cassandra/cql3/functions/FunctionName;
aastore
dup
iconst_3
aload 7
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 7 end local 6 10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
aload 2
invokeinterface java.util.List.size:()I
if_icmplt 4
end local 5 12: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 keyspace Ljava/lang/String;
0 13 1 fun Lorg/apache/cassandra/cql3/functions/Function;
0 13 2 providedArgs Ljava/util/List<+Lorg/apache/cassandra/cql3/AssignmentTestable;>;
0 13 3 receiverKs Ljava/lang/String;
0 13 4 receiverCf Ljava/lang/String;
3 12 5 i I
5 10 6 provided Lorg/apache/cassandra/cql3/AssignmentTestable;
8 10 7 expected Lorg/apache/cassandra/cql3/ColumnSpecification;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
Signature: (Ljava/lang/String;Lorg/apache/cassandra/cql3/functions/Function;Ljava/util/List<+Lorg/apache/cassandra/cql3/AssignmentTestable;>;Ljava/lang/String;Ljava/lang/String;)V
MethodParameters:
Name Flags
keyspace
fun
providedArgs
receiverKs
receiverCf
private static org.apache.cassandra.cql3.AssignmentTestable$TestResult matchAguments(java.lang.String, org.apache.cassandra.cql3.functions.Function, java.util.List<? extends org.apache.cassandra.cql3.AssignmentTestable>, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/cql3/functions/Function;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokeinterface java.util.List.size:()I
aload 1
invokeinterface org.apache.cassandra.cql3.functions.Function.argTypes:()Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpeq 2
1: getstatic org.apache.cassandra.cql3.AssignmentTestable$TestResult.NOT_ASSIGNABLE:Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.cql3.AssignmentTestable$TestResult.EXACT_MATCH:Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
astore 5
start local 5 3: iconst_0
istore 6
start local 6 4: goto 16
5: StackMap locals: org.apache.cassandra.cql3.AssignmentTestable$TestResult int
StackMap stack:
aload 2
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.AssignmentTestable
astore 7
start local 7 6: aload 7
ifnonnull 9
7: getstatic org.apache.cassandra.cql3.AssignmentTestable$TestResult.WEAKLY_ASSIGNABLE:Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
astore 5
8: goto 15
9: StackMap locals: org.apache.cassandra.cql3.AssignmentTestable
StackMap stack:
aload 3
aload 4
aload 1
iload 6
invokestatic org.apache.cassandra.cql3.functions.FunctionResolver.makeArgSpec:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/cql3/functions/Function;I)Lorg/apache/cassandra/cql3/ColumnSpecification;
astore 8
start local 8 10: aload 7
aload 0
aload 8
invokeinterface org.apache.cassandra.cql3.AssignmentTestable.testAssignment:(Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
astore 9
start local 9 11: aload 9
getstatic org.apache.cassandra.cql3.AssignmentTestable$TestResult.NOT_ASSIGNABLE:Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
if_acmpne 13
12: getstatic org.apache.cassandra.cql3.AssignmentTestable$TestResult.NOT_ASSIGNABLE:Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
areturn
13: StackMap locals: org.apache.cassandra.cql3.ColumnSpecification org.apache.cassandra.cql3.AssignmentTestable$TestResult
StackMap stack:
aload 9
getstatic org.apache.cassandra.cql3.AssignmentTestable$TestResult.WEAKLY_ASSIGNABLE:Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
if_acmpne 15
14: getstatic org.apache.cassandra.cql3.AssignmentTestable$TestResult.WEAKLY_ASSIGNABLE:Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
astore 5
end local 9 end local 8 end local 7 15: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
16: iload 6
aload 2
invokeinterface java.util.List.size:()I
if_icmplt 5
end local 6 17: aload 5
areturn
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 18 0 keyspace Ljava/lang/String;
0 18 1 fun Lorg/apache/cassandra/cql3/functions/Function;
0 18 2 providedArgs Ljava/util/List<+Lorg/apache/cassandra/cql3/AssignmentTestable;>;
0 18 3 receiverKs Ljava/lang/String;
0 18 4 receiverCf Ljava/lang/String;
3 18 5 res Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
4 17 6 i I
6 15 7 provided Lorg/apache/cassandra/cql3/AssignmentTestable;
10 15 8 expected Lorg/apache/cassandra/cql3/ColumnSpecification;
11 15 9 argRes Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
Signature: (Ljava/lang/String;Lorg/apache/cassandra/cql3/functions/Function;Ljava/util/List<+Lorg/apache/cassandra/cql3/AssignmentTestable;>;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
MethodParameters:
Name Flags
keyspace
fun
providedArgs
receiverKs
receiverCf
private static java.lang.String format(java.util.Collection<org.apache.cassandra.cql3.functions.Function>);
descriptor: (Ljava/util/Collection;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Collection.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;
java/lang/Object.toString()Ljava/lang/String; (5)
(Lorg/apache/cassandra/cql3/functions/Function;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
ldc ", "
invokestatic java.util.stream.Collectors.joining:(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 funs Ljava/util/Collection<Lorg/apache/cassandra/cql3/functions/Function;>;
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/cql3/functions/Function;>;)Ljava/lang/String;
MethodParameters:
Name Flags
funs
static int[] $SWITCH_TABLE$org$apache$cassandra$cql3$AssignmentTestable$TestResult();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.cql3.functions.FunctionResolver.$SWITCH_TABLE$org$apache$cassandra$cql3$AssignmentTestable$TestResult:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.cassandra.cql3.AssignmentTestable$TestResult.values:()[Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.cassandra.cql3.AssignmentTestable$TestResult.EXACT_MATCH:Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
invokevirtual org.apache.cassandra.cql3.AssignmentTestable$TestResult.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.apache.cassandra.cql3.AssignmentTestable$TestResult.NOT_ASSIGNABLE:Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
invokevirtual org.apache.cassandra.cql3.AssignmentTestable$TestResult.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.apache.cassandra.cql3.AssignmentTestable$TestResult.WEAKLY_ASSIGNABLE:Lorg/apache/cassandra/cql3/AssignmentTestable$TestResult;
invokevirtual org.apache.cassandra.cql3.AssignmentTestable$TestResult.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic org.apache.cassandra.cql3.functions.FunctionResolver.$SWITCH_TABLE$org$apache$cassandra$cql3$AssignmentTestable$TestResult:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
SourceFile: "FunctionResolver.java"
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