class java.util.Collections$CheckedCollection<E> implements java.util.Collection<E>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: java.util.Collections$CheckedCollection
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1578914078182001775
final java.util.Collection<E> c;
descriptor: Ljava/util/Collection;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Collection<TE;>;
final java.lang.Class<E> type;
descriptor: Ljava/lang/Class;
flags: (0x0010) ACC_FINAL
Signature: Ljava/lang/Class<TE;>;
private E[] zeroLengthElementArray;
descriptor: [Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: [TE;
E typeCheck();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
aload 0
getfield java.util.Collections$CheckedCollection.type:Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 2
1: new java.lang.ClassCastException
dup
aload 0
aload 1
invokevirtual java.util.Collections$CheckedCollection.badElementMsg:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Collections$CheckedCollection<TE;>;
0 3 1 o Ljava/lang/Object;
Signature: (Ljava/lang/Object;)TE;
MethodParameters:
Name Flags
o
private java.lang.String badElementMsg(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "Attempt to insert "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
1: ldc " element into collection with element type "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.util.Collections$CheckedCollection.type:Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Collections$CheckedCollection<TE;>;
0 3 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
void <init>(java.util.Collection<E>, java.lang.Class<E>);
descriptor: (Ljava/util/Collection;Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ldc "c"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.Collection
putfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
2: aload 0
aload 2
ldc "type"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Class
putfield java.util.Collections$CheckedCollection.type:Ljava/lang/Class;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/Collections$CheckedCollection<TE;>;
0 4 1 c Ljava/util/Collection<TE;>;
0 4 2 type Ljava/lang/Class<TE;>;
Signature: (Ljava/util/Collection<TE;>;Ljava/lang/Class<TE;>;)V
MethodParameters:
Name Flags
c
type
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
invokeinterface java.util.Collection.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
public boolean contains(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
0 1 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public java.lang.Object[] toArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
public <T> T[] toArray();
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
0 1 1 a [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>([TT;)[TT;
MethodParameters:
Name Flags
a
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
public boolean remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.remove:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
0 1 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
invokeinterface java.util.Collection.clear:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
public boolean containsAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.containsAll:(Ljava/util/Collection;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
0 1 1 coll Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
coll
public boolean removeAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.removeAll:(Ljava/util/Collection;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
0 1 1 coll Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
coll
public boolean retainAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.retainAll:(Ljava/util/Collection;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
0 1 1 coll Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
coll
public java.util.Iterator<E> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 1
start local 1 1: new java.util.Collections$CheckedCollection$1
dup
aload 0
aload 1
invokespecial java.util.Collections$CheckedCollection$1.<init>:(Ljava/util/Collections$CheckedCollection;Ljava/util/Iterator;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Collections$CheckedCollection<TE;>;
1 2 1 it Ljava/util/Iterator<TE;>;
Signature: ()Ljava/util/Iterator<TE;>;
public boolean add();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
aload 0
aload 1
invokevirtual java.util.Collections$CheckedCollection.typeCheck:(Ljava/lang/Object;)Ljava/lang/Object;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
0 1 1 e TE;
Signature: (TE;)Z
MethodParameters:
Name Flags
e
private E[] zeroLengthElementArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Collections$CheckedCollection.zeroLengthElementArray:[Ljava/lang/Object;
ifnull 1
aload 0
getfield java.util.Collections$CheckedCollection.zeroLengthElementArray:[Ljava/lang/Object;
goto 2
1: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.util.Collections$CheckedCollection.type:Ljava/lang/Class;
invokestatic java.util.Collections.zeroLengthArray:(Ljava/lang/Class;)[Ljava/lang/Object;
dup_x1
putfield java.util.Collections$CheckedCollection.zeroLengthElementArray:[Ljava/lang/Object;
2: StackMap locals:
StackMap stack: java.lang.Object[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Collections$CheckedCollection<TE;>;
Signature: ()[TE;
java.util.Collection<E> checkedCopyOf(java.util.Collection<? extends E>);
descriptor: (Ljava/util/Collection;)Ljava/util/Collection;
flags: (0x0000)
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.util.Collections$CheckedCollection.zeroLengthElementArray:()[Ljava/lang/Object;
astore 3
start local 3 1: aload 1
aload 3
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
astore 2
start local 2 2: aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 12
3: aload 2
aload 2
arraylength
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object;
astore 2
end local 3 4: goto 12
end local 2 StackMap locals:
StackMap stack: java.lang.ArrayStoreException
5: pop
6: aload 1
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
invokevirtual java.lang.Object[].clone:()Ljava/lang/Object;
checkcast java.lang.Object[]
astore 2
start local 2 7: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 11
StackMap locals: java.util.Collections$CheckedCollection java.util.Collection java.lang.Object[] top int int java.lang.Object[]
StackMap stack:
8: aload 6
iload 4
aaload
astore 3
start local 3 9: aload 0
aload 3
invokevirtual java.util.Collections$CheckedCollection.typeCheck:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 10: iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 5
if_icmplt 8
12: StackMap locals: java.util.Collections$CheckedCollection java.util.Collection java.lang.Object[]
StackMap stack:
aload 2
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/util/Collections$CheckedCollection<TE;>;
0 13 1 coll Ljava/util/Collection<+TE;>;
2 5 2 a [Ljava/lang/Object;
7 13 2 a [Ljava/lang/Object;
1 4 3 z [Ljava/lang/Object;
9 10 3 o Ljava/lang/Object;
Exception table:
from to target type
0 4 5 Class java.lang.ArrayStoreException
Signature: (Ljava/util/Collection<+TE;>;)Ljava/util/Collection<TE;>;
MethodParameters:
Name Flags
coll
public boolean addAll(java.util.Collection<? extends E>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
aload 0
aload 1
invokevirtual java.util.Collections$CheckedCollection.checkedCopyOf:(Ljava/util/Collection;)Ljava/util/Collection;
invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
0 1 1 coll Ljava/util/Collection<+TE;>;
Signature: (Ljava/util/Collection<+TE;>;)Z
MethodParameters:
Name Flags
coll
public void forEach(java.util.function.Consumer<? super E>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.forEach:(Ljava/util/function/Consumer;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
0 1 1 action Ljava/util/function/Consumer<-TE;>;
Signature: (Ljava/util/function/Consumer<-TE;>;)V
MethodParameters:
Name Flags
action
public boolean removeIf(java.util.function.Predicate<? super E>);
descriptor: (Ljava/util/function/Predicate;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.removeIf:(Ljava/util/function/Predicate;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
0 1 1 filter Ljava/util/function/Predicate<-TE;>;
Signature: (Ljava/util/function/Predicate<-TE;>;)Z
MethodParameters:
Name Flags
filter
public java.util.Spliterator<E> spliterator();
descriptor: ()Ljava/util/Spliterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
invokeinterface java.util.Collection.spliterator:()Ljava/util/Spliterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
Signature: ()Ljava/util/Spliterator<TE;>;
public java.util.stream.Stream<E> stream();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
Signature: ()Ljava/util/stream/Stream<TE;>;
public java.util.stream.Stream<E> parallelStream();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Collections$CheckedCollection.c:Ljava/util/Collection;
invokeinterface java.util.Collection.parallelStream:()Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Collections$CheckedCollection<TE;>;
Signature: ()Ljava/util/stream/Stream<TE;>;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Collection<TE;>;Ljava/io/Serializable;
SourceFile: "Collections.java"
NestHost: java.util.Collections
InnerClasses:
CheckedCollection = java.util.Collections$CheckedCollection of java.util.Collections
java.util.Collections$CheckedCollection$1