public class io.micronaut.core.util.CollectionUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.micronaut.core.util.CollectionUtils
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/micronaut/core/util/CollectionUtils;
public static boolean isIterableOrMap(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
ldc Ljava/lang/Iterable;
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 1
ldc Ljava/util/Map;
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 2
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
type
public static boolean isEmpty(java.util.Map);
descriptor: (Ljava/util/Map;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokeinterface java.util.Map.isEmpty:()Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 map Ljava/util/Map;
RuntimeInvisibleParameterAnnotations:
0:
edu.umd.cs.findbugs.annotations.Nullable()
MethodParameters:
Name Flags
map
public static boolean isNotEmpty(java.util.Map);
descriptor: (Ljava/util/Map;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokeinterface java.util.Map.isEmpty:()Z
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 map Ljava/util/Map;
RuntimeInvisibleParameterAnnotations:
0:
edu.umd.cs.findbugs.annotations.Nullable()
MethodParameters:
Name Flags
map
public static boolean isEmpty(java.util.Collection);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokeinterface java.util.Collection.isEmpty:()Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 collection Ljava/util/Collection;
RuntimeInvisibleParameterAnnotations:
0:
edu.umd.cs.findbugs.annotations.Nullable()
MethodParameters:
Name Flags
collection
public static boolean isNotEmpty(java.util.Collection);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokeinterface java.util.Collection.isEmpty:()Z
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 collection Ljava/util/Collection;
RuntimeInvisibleParameterAnnotations:
0:
edu.umd.cs.findbugs.annotations.Nullable()
MethodParameters:
Name Flags
collection
public static <T> java.util.Optional<java.lang.Iterable<T>> convertCollection(java.lang.Class<? extends java.lang.Iterable<T>>, java.util.Collection<T>);
descriptor: (Ljava/lang/Class;Ljava/util/Collection;)Ljava/util/Optional;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 2
1: aload 1
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
2: StackMap locals:
StackMap stack:
aload 0
ldc Ljava/util/Set;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
3: new java.util.HashSet
dup
aload 1
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
4: StackMap locals:
StackMap stack:
aload 0
ldc Ljava/util/Queue;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
5: new java.util.LinkedList
dup
aload 1
invokespecial java.util.LinkedList.<init>:(Ljava/util/Collection;)V
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
6: StackMap locals:
StackMap stack:
aload 0
ldc Ljava/util/List;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 8
7: new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.isInterface:()Z
ifne 14
9: aload 0
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/util/Collection;
aastore
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 2
start local 2 10: aload 2
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Iterable
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
11: areturn
end local 2 12: StackMap locals:
StackMap stack: java.lang.Throwable
pop
13: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
14: StackMap locals:
StackMap stack:
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 iterableType Ljava/lang/Class<+Ljava/lang/Iterable<TT;>;>;
0 15 1 collection Ljava/util/Collection<TT;>;
10 12 2 constructor Ljava/lang/reflect/Constructor<+Ljava/lang/Iterable<TT;>;>;
Exception table:
from to target type
9 11 12 Class java.lang.Throwable
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<+Ljava/lang/Iterable<TT;>;>;Ljava/util/Collection<TT;>;)Ljava/util/Optional<Ljava/lang/Iterable<TT;>;>;
MethodParameters:
Name Flags
iterableType
collection
public static java.util.Map mapOf(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/util/Map;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
arraylength
istore 1
start local 1 1: iload 1
iconst_2
irem
ifeq 3
2: new java.lang.IllegalArgumentException
dup
ldc "Number of arguments should be an even number representing the keys and values"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
new java.util.LinkedHashMap
dup
iload 1
iconst_2
idiv
invokespecial java.util.LinkedHashMap.<init>:(I)V
astore 2
start local 2 4: iconst_0
istore 3
start local 3 5: goto 7
6: StackMap locals: java.util.Map int
StackMap stack:
aload 2
aload 0
iload 3
iinc 3 1
aaload
aload 0
iload 3
iinc 3 1
aaload
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals:
StackMap stack:
iload 3
aload 0
arraylength
iconst_1
isub
if_icmplt 6
8: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 values [Ljava/lang/Object;
1 9 1 len I
4 9 2 answer Ljava/util/Map;
5 9 3 i I
MethodParameters:
Name Flags
values
public static <T> java.util.Set<T> iteratorToSet(java.util.Iterator<T>);
descriptor: (Ljava/util/Iterator;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: goto 3
2: StackMap locals: java.util.Set
StackMap stack:
aload 1
aload 0
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 iterator Ljava/util/Iterator<TT;>;
1 5 1 set Ljava/util/Set<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Iterator<TT;>;)Ljava/util/Set<TT;>;
MethodParameters:
Name Flags
iterator
public static <T> java.util.Set<T> enumerationToSet(java.util.Enumeration<T>);
descriptor: (Ljava/util/Enumeration;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: goto 3
2: StackMap locals: java.util.Set
StackMap stack:
aload 1
aload 0
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 2
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 enumeration Ljava/util/Enumeration<TT;>;
1 5 1 set Ljava/util/Set<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Enumeration<TT;>;)Ljava/util/Set<TT;>;
MethodParameters:
Name Flags
enumeration
public static <T> java.lang.Iterable<T> enumerationToIterable(java.util.Enumeration<T>);
descriptor: (Ljava/util/Enumeration;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokedynamic iterator(Ljava/util/Enumeration;)Ljava/lang/Iterable;
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/util/Iterator;
io/micronaut/core/util/CollectionUtils.lambda$0(Ljava/util/Enumeration;)Ljava/util/Iterator; (6)
()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 enumeration Ljava/util/Enumeration<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Enumeration<TT;>;)Ljava/lang/Iterable<TT;>;
RuntimeInvisibleAnnotations:
edu.umd.cs.findbugs.annotations.NonNull()
RuntimeInvisibleParameterAnnotations:
0:
edu.umd.cs.findbugs.annotations.Nullable()
MethodParameters:
Name Flags
enumeration
public static <T> java.util.Set<T> setOf(T[]);
descriptor: ([Ljava/lang/Object;)Ljava/util/Set;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
iconst_0
invokespecial java.util.HashSet.<init>:(I)V
areturn
2: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
aload 0
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 objects [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>([TT;)Ljava/util/Set<TT;>;
MethodParameters:
Name Flags
objects
public static java.lang.String toString(java.lang.Iterable<?>);
descriptor: (Ljava/lang/Iterable;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc ","
aload 0
invokestatic io.micronaut.core.util.CollectionUtils.toString:(Ljava/lang/String;Ljava/lang/Iterable;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iterable Ljava/lang/Iterable<*>;
Signature: (Ljava/lang/Iterable<*>;)Ljava/lang/String;
MethodParameters:
Name Flags
iterable
public static java.lang.String toString(java.lang.String, java.lang.Iterable<?>);
descriptor: (Ljava/lang/String;Ljava/lang/Iterable;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 13
3: StackMap locals: java.lang.StringBuilder java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 4
start local 4 4: aload 4
ifnonnull 6
5: goto 13
6: StackMap locals: java.lang.Object
StackMap stack:
ldc Ljava/lang/CharSequence;
aload 4
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 9
7: aload 2
aload 4
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: goto 11
9: StackMap locals:
StackMap stack:
getstatic io.micronaut.core.convert.ConversionService.SHARED:Lio/micronaut/core/convert/ConversionService;
aload 4
ldc Ljava/lang/String;
invokeinterface io.micronaut.core.convert.ConversionService.convert:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/util/Optional;
astore 5
start local 5 10: aload 5
aload 2
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/lang/StringBuilder;)Ljava/util/function/Consumer;
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;)V
java/lang/StringBuilder.append(Ljava/lang/String;)Ljava/lang/StringBuilder; (5)
(Ljava/lang/String;)V
invokevirtual java.util.Optional.ifPresent:(Ljava/util/function/Consumer;)V
end local 5 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 13
12: aload 2
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 13: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
14: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 delimiter Ljava/lang/String;
0 15 1 iterable Ljava/lang/Iterable<*>;
1 15 2 builder Ljava/lang/StringBuilder;
2 15 3 i Ljava/util/Iterator<*>;
4 13 4 o Ljava/lang/Object;
10 11 5 converted Ljava/util/Optional<Ljava/lang/String;>;
Signature: (Ljava/lang/String;Ljava/lang/Iterable<*>;)Ljava/lang/String;
MethodParameters:
Name Flags
delimiter
iterable
public static <T> java.util.List<T> iterableToList(java.lang.Iterable<T>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.util.List
ifeq 4
3: aload 0
checkcast java.util.List
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 1
start local 1 5: aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 11
6: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 7: goto 9
8: StackMap locals: java.util.Iterator java.util.List
StackMap stack:
aload 2
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
10: aload 2
areturn
end local 2 11: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 iterable Ljava/lang/Iterable<TT;>;
5 12 1 i Ljava/util/Iterator<TT;>;
7 11 2 list Ljava/util/List<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;)Ljava/util/List<TT;>;
MethodParameters:
Name Flags
iterable
public static <T> java.util.Set<T> iterableToSet(java.lang.Iterable<T>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.util.Set
ifeq 4
3: aload 0
checkcast java.util.Set
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 1
start local 1 5: aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 11
6: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 7: goto 9
8: StackMap locals: java.util.Iterator java.util.Set
StackMap stack:
aload 2
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
9: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
10: aload 2
areturn
end local 2 11: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 iterable Ljava/lang/Iterable<TT;>;
5 12 1 i Ljava/util/Iterator<TT;>;
7 11 2 list Ljava/util/Set<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;)Ljava/util/Set<TT;>;
MethodParameters:
Name Flags
iterable
public static <T> java.util.List<T> unmodifiableList(java.util.List<T>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.micronaut.core.util.CollectionUtils.isEmpty:(Ljava/util/Collection;)Z
ifeq 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 list Ljava/util/List<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/List<TT;>;)Ljava/util/List<TT;>;
RuntimeInvisibleAnnotations:
edu.umd.cs.findbugs.annotations.NonNull()
RuntimeInvisibleParameterAnnotations:
0:
edu.umd.cs.findbugs.annotations.Nullable()
MethodParameters:
Name Flags
list
public static <T> T last(java.util.Collection<T>);
descriptor: (Ljava/util/Collection;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
instanceof java.util.List
ifeq 6
1: aload 0
checkcast java.util.List
astore 1
start local 1 2: aload 1
invokeinterface java.util.List.size:()I
istore 2
start local 2 3: iload 2
ifle 5
4: aload 1
iload 2
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
areturn
5: StackMap locals: java.util.List int
StackMap stack:
aconst_null
areturn
end local 2 end local 1 6: StackMap locals:
StackMap stack:
aload 0
instanceof java.util.Deque
ifeq 11
7: aload 0
checkcast java.util.Deque
invokeinterface java.util.Deque.descendingIterator:()Ljava/util/Iterator;
astore 1
start local 1 8: aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 10
9: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
areturn
10: StackMap locals: java.util.Iterator
StackMap stack:
aconst_null
areturn
end local 1 11: StackMap locals:
StackMap stack:
aload 0
instanceof java.util.NavigableSet
ifeq 16
12: aload 0
checkcast java.util.NavigableSet
invokeinterface java.util.NavigableSet.descendingIterator:()Ljava/util/Iterator;
astore 1
start local 1 13: aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 15
14: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
areturn
15: StackMap locals: java.util.Iterator
StackMap stack:
aconst_null
areturn
end local 1 16: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 17: aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 20
StackMap locals: java.util.Collection java.lang.Object top java.util.Iterator
StackMap stack:
18: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 2
start local 2 19: aload 2
astore 1
end local 2 20: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
21: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 collection Ljava/util/Collection<TT;>;
2 6 1 list Ljava/util/List<TT;>;
3 6 2 s I
8 11 1 i Ljava/util/Iterator<TT;>;
13 16 1 i Ljava/util/Iterator<TT;>;
17 22 1 result TT;
19 20 2 t TT;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<TT;>;)TT;
RuntimeInvisibleAnnotations:
edu.umd.cs.findbugs.annotations.Nullable()
RuntimeInvisibleParameterAnnotations:
0:
edu.umd.cs.findbugs.annotations.NonNull()
MethodParameters:
Name Flags
collection
private static java.util.Iterator lambda$0(java.util.Enumeration);
descriptor: (Ljava/util/Enumeration;)Ljava/util/Iterator;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
0: new io.micronaut.core.util.CollectionUtils$1
dup
aload 0
invokespecial io.micronaut.core.util.CollectionUtils$1.<init>:(Ljava/util/Enumeration;)V
1: areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "CollectionUtils.java"
NestMembers:
io.micronaut.core.util.CollectionUtils$1
InnerClasses:
io.micronaut.core.util.CollectionUtils$1
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles