class org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef implements org.springframework.expression.spel.ast.ValueRef
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef
super_class: java.lang.Object
{
private final java.util.Collection collection;
descriptor: Ljava/util/Collection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int index;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.core.convert.TypeDescriptor collectionEntryDescriptor;
descriptor: Lorg/springframework/core/convert/TypeDescriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.expression.TypeConverter typeConverter;
descriptor: Lorg/springframework/expression/TypeConverter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean growCollection;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int maximumSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.springframework.expression.spel.ast.Indexer this$0;
descriptor: Lorg/springframework/expression/spel/ast/Indexer;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.springframework.expression.spel.ast.Indexer, java.util.Collection, int, org.springframework.core.convert.TypeDescriptor, org.springframework.expression.TypeConverter, boolean, int);
descriptor: (Lorg/springframework/expression/spel/ast/Indexer;Ljava/util/Collection;ILorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/expression/TypeConverter;ZI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=8
start local 0 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
putfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.this$0:Lorg/springframework/expression/spel/ast/Indexer;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
aload 2
putfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collection:Ljava/util/Collection;
3: aload 0
iload 3
putfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.index:I
4: aload 0
aload 4
putfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collectionEntryDescriptor:Lorg/springframework/core/convert/TypeDescriptor;
5: aload 0
aload 5
putfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.typeConverter:Lorg/springframework/expression/TypeConverter;
6: aload 0
iload 6
putfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.growCollection:Z
7: aload 0
iload 7
putfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.maximumSize:I
8: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/expression/spel/ast/Indexer$CollectionIndexingValueRef;
0 9 2 collection Ljava/util/Collection;
0 9 3 index I
0 9 4 collectionEntryDescriptor Lorg/springframework/core/convert/TypeDescriptor;
0 9 5 typeConverter Lorg/springframework/expression/TypeConverter;
0 9 6 growCollection Z
0 9 7 maximumSize I
MethodParameters:
Name Flags
this$0 final
collection
index
collectionEntryDescriptor
typeConverter
growCollection
maximumSize
public org.springframework.expression.TypedValue getValue();
descriptor: ()Lorg/springframework/expression/TypedValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.growCollectionIfNecessary:()V
1: aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collection:Ljava/util/Collection;
instanceof java.util.List
ifeq 5
2: aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collection:Ljava/util/Collection;
checkcast java.util.List
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.index:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 1
start local 1 3: aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.this$0:Lorg/springframework/expression/spel/ast/Indexer;
ldc Ljava/lang/Object;
invokestatic org.springframework.expression.spel.CodeFlow.toDescriptor:(Ljava/lang/Class;)Ljava/lang/String;
putfield org.springframework.expression.spel.ast.Indexer.exitTypeDescriptor:Ljava/lang/String;
4: new org.springframework.expression.TypedValue
dup
aload 1
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collectionEntryDescriptor:Lorg/springframework/core/convert/TypeDescriptor;
aload 1
invokevirtual org.springframework.core.convert.TypeDescriptor.elementTypeDescriptor:(Ljava/lang/Object;)Lorg/springframework/core/convert/TypeDescriptor;
invokespecial org.springframework.expression.TypedValue.<init>:(Ljava/lang/Object;Lorg/springframework/core/convert/TypeDescriptor;)V
areturn
end local 1 5: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 6: aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collection:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals: org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef int top java.util.Iterator
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 8: iload 1
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.index:I
if_icmpne 10
9: new org.springframework.expression.TypedValue
dup
aload 2
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collectionEntryDescriptor:Lorg/springframework/core/convert/TypeDescriptor;
aload 2
invokevirtual org.springframework.core.convert.TypeDescriptor.elementTypeDescriptor:(Ljava/lang/Object;)Lorg/springframework/core/convert/TypeDescriptor;
invokespecial org.springframework.expression.TypedValue.<init>:(Ljava/lang/Object;Lorg/springframework/core/convert/TypeDescriptor;)V
areturn
10: StackMap locals: org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef int java.lang.Object java.util.Iterator
StackMap stack:
iinc 1 1
end local 2 11: StackMap locals: org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef int top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
12: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Failed to find indexed element "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.index:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collection:Ljava/util/Collection;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/expression/spel/ast/Indexer$CollectionIndexingValueRef;
3 5 1 o Ljava/lang/Object;
6 13 1 pos I
8 11 2 o Ljava/lang/Object;
public void setValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.growCollectionIfNecessary:()V
1: aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collection:Ljava/util/Collection;
instanceof java.util.List
ifeq 9
2: aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collection:Ljava/util/Collection;
checkcast java.util.List
astore 2
start local 2 3: aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collectionEntryDescriptor:Lorg/springframework/core/convert/TypeDescriptor;
invokevirtual org.springframework.core.convert.TypeDescriptor.getElementTypeDescriptor:()Lorg/springframework/core/convert/TypeDescriptor;
ifnull 7
4: aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.typeConverter:Lorg/springframework/expression/TypeConverter;
aload 1
aload 1
invokestatic org.springframework.core.convert.TypeDescriptor.forObject:(Ljava/lang/Object;)Lorg/springframework/core/convert/TypeDescriptor;
5: aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collectionEntryDescriptor:Lorg/springframework/core/convert/TypeDescriptor;
invokevirtual org.springframework.core.convert.TypeDescriptor.getElementTypeDescriptor:()Lorg/springframework/core/convert/TypeDescriptor;
6: invokeinterface org.springframework.expression.TypeConverter.convertValue:(Ljava/lang/Object;Lorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/core/convert/TypeDescriptor;)Ljava/lang/Object;
astore 1
7: StackMap locals: java.util.List
StackMap stack:
aload 2
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.index:I
aload 1
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
end local 2 8: goto 12
9: StackMap locals:
StackMap stack:
new org.springframework.expression.spel.SpelEvaluationException
dup
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.this$0:Lorg/springframework/expression/spel/ast/Indexer;
invokevirtual org.springframework.expression.spel.ast.Indexer.getStartPosition:()I
getstatic org.springframework.expression.spel.SpelMessage.INDEXING_NOT_SUPPORTED_FOR_TYPE:Lorg/springframework/expression/spel/SpelMessage;
iconst_1
anewarray java.lang.Object
dup
iconst_0
10: aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collectionEntryDescriptor:Lorg/springframework/core/convert/TypeDescriptor;
invokevirtual org.springframework.core.convert.TypeDescriptor.toString:()Ljava/lang/String;
11: aastore
invokespecial org.springframework.expression.spel.SpelEvaluationException.<init>:(ILorg/springframework/expression/spel/SpelMessage;[Ljava/lang/Object;)V
athrow
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/expression/spel/ast/Indexer$CollectionIndexingValueRef;
0 13 1 newValue Ljava/lang/Object;
3 8 2 list Ljava/util/List;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
newValue
private void growCollectionIfNecessary();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=4, args_size=1
start local 0 0: aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.index:I
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collection:Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
if_icmplt 21
1: aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.growCollection:Z
ifne 5
2: new org.springframework.expression.spel.SpelEvaluationException
dup
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.this$0:Lorg/springframework/expression/spel/ast/Indexer;
invokevirtual org.springframework.expression.spel.ast.Indexer.getStartPosition:()I
getstatic org.springframework.expression.spel.SpelMessage.COLLECTION_INDEX_OUT_OF_BOUNDS:Lorg/springframework/expression/spel/SpelMessage;
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collection:Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.index:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
4: aastore
invokespecial org.springframework.expression.spel.SpelEvaluationException.<init>:(ILorg/springframework/expression/spel/SpelMessage;[Ljava/lang/Object;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.index:I
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.maximumSize:I
if_icmplt 7
6: new org.springframework.expression.spel.SpelEvaluationException
dup
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.this$0:Lorg/springframework/expression/spel/ast/Indexer;
invokevirtual org.springframework.expression.spel.ast.Indexer.getStartPosition:()I
getstatic org.springframework.expression.spel.SpelMessage.UNABLE_TO_GROW_COLLECTION:Lorg/springframework/expression/spel/SpelMessage;
iconst_0
anewarray java.lang.Object
invokespecial org.springframework.expression.spel.SpelEvaluationException.<init>:(ILorg/springframework/expression/spel/SpelMessage;[Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collectionEntryDescriptor:Lorg/springframework/core/convert/TypeDescriptor;
invokevirtual org.springframework.core.convert.TypeDescriptor.getElementTypeDescriptor:()Lorg/springframework/core/convert/TypeDescriptor;
ifnonnull 11
8: new org.springframework.expression.spel.SpelEvaluationException
dup
9: aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.this$0:Lorg/springframework/expression/spel/ast/Indexer;
invokevirtual org.springframework.expression.spel.ast.Indexer.getStartPosition:()I
getstatic org.springframework.expression.spel.SpelMessage.UNABLE_TO_GROW_COLLECTION_UNKNOWN_ELEMENT_TYPE:Lorg/springframework/expression/spel/SpelMessage;
10: iconst_0
anewarray java.lang.Object
invokespecial org.springframework.expression.spel.SpelEvaluationException.<init>:(ILorg/springframework/expression/spel/SpelMessage;[Ljava/lang/Object;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collectionEntryDescriptor:Lorg/springframework/core/convert/TypeDescriptor;
invokevirtual org.springframework.core.convert.TypeDescriptor.getElementTypeDescriptor:()Lorg/springframework/core/convert/TypeDescriptor;
astore 1
start local 1 12: aload 1
invokevirtual org.springframework.core.convert.TypeDescriptor.getType:()Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
invokestatic org.springframework.util.ReflectionUtils.accessibleConstructor:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 2
start local 2 13: aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.index:I
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collection:Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
isub
istore 3
start local 3 14: goto 17
15: StackMap locals: org.springframework.core.convert.TypeDescriptor java.lang.reflect.Constructor int
StackMap stack:
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.collection:Ljava/util/Collection;
aload 2
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
16: iinc 3 -1
17: StackMap locals:
StackMap stack:
iload 3
ifge 15
end local 3 end local 2 18: goto 21
19: StackMap locals: org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef org.springframework.core.convert.TypeDescriptor
StackMap stack: java.lang.Throwable
astore 2
start local 2 20: new org.springframework.expression.spel.SpelEvaluationException
dup
aload 0
getfield org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef.this$0:Lorg/springframework/expression/spel/ast/Indexer;
invokevirtual org.springframework.expression.spel.ast.Indexer.getStartPosition:()I
aload 2
getstatic org.springframework.expression.spel.SpelMessage.UNABLE_TO_GROW_COLLECTION:Lorg/springframework/expression/spel/SpelMessage;
iconst_0
anewarray java.lang.Object
invokespecial org.springframework.expression.spel.SpelEvaluationException.<init>:(ILjava/lang/Throwable;Lorg/springframework/expression/spel/SpelMessage;[Ljava/lang/Object;)V
athrow
end local 2 end local 1 21: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/springframework/expression/spel/ast/Indexer$CollectionIndexingValueRef;
12 21 1 elementType Lorg/springframework/core/convert/TypeDescriptor;
13 18 2 ctor Ljava/lang/reflect/Constructor<*>;
14 18 3 newElements I
20 21 2 ex Ljava/lang/Throwable;
Exception table:
from to target type
12 18 19 Class java.lang.Throwable
public boolean isWritable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/expression/spel/ast/Indexer$CollectionIndexingValueRef;
}
SourceFile: "Indexer.java"
NestHost: org.springframework.expression.spel.ast.Indexer
InnerClasses:
private CollectionIndexingValueRef = org.springframework.expression.spel.ast.Indexer$CollectionIndexingValueRef of org.springframework.expression.spel.ast.Indexer