class org.apache.commons.lang3.ClassUtils$2 implements java.util.Iterator<java.lang.Class<?>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.commons.lang3.ClassUtils$2
super_class: java.lang.Object
{
java.util.Iterator<java.lang.Class<?>> interfaces;
descriptor: Ljava/util/Iterator;
flags: (0x0000)
Signature: Ljava/util/Iterator<Ljava/lang/Class<*>;>;
private final java.util.Iterator val$wrapped;
descriptor: Ljava/util/Iterator;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.util.Set val$seenInterfaces;
descriptor: Ljava/util/Set;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.Iterator, java.util.Set);
descriptor: (Ljava/util/Iterator;Ljava/util/Set;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield org.apache.commons.lang3.ClassUtils$2.val$wrapped:Ljava/util/Iterator;
aload 0
aload 2
putfield org.apache.commons.lang3.ClassUtils$2.val$seenInterfaces:Ljava/util/Set;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
putfield org.apache.commons.lang3.ClassUtils$2.interfaces:Ljava/util/Iterator;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/lang3/ClassUtils$2;
MethodParameters:
Name Flags
val$wrapped final
val$seenInterfaces final
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.lang3.ClassUtils$2.interfaces:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
aload 0
getfield org.apache.commons.lang3.ClassUtils$2.val$wrapped:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()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 this Lorg/apache/commons/lang3/ClassUtils$2;
public java.lang.Class<?> next();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.lang3.ClassUtils$2.interfaces:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 4
1: aload 0
getfield org.apache.commons.lang3.ClassUtils$2.interfaces:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 1
start local 1 2: aload 0
getfield org.apache.commons.lang3.ClassUtils$2.val$seenInterfaces:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: aload 1
areturn
end local 1 4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.lang3.ClassUtils$2.val$wrapped:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 1
start local 1 5: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 2
start local 2 6: aload 0
aload 2
aload 1
invokevirtual org.apache.commons.lang3.ClassUtils$2.walkInterfaces:(Ljava/util/Set;Ljava/lang/Class;)V
7: aload 0
aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
putfield org.apache.commons.lang3.ClassUtils$2.interfaces:Ljava/util/Iterator;
8: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/commons/lang3/ClassUtils$2;
2 4 1 nextInterface Ljava/lang/Class<*>;
5 9 1 nextSuperclass Ljava/lang/Class<*>;
6 9 2 currentInterfaces Ljava/util/Set<Ljava/lang/Class<*>;>;
Signature: ()Ljava/lang/Class<*>;
private void walkInterfaces(java.util.Set<java.lang.Class<?>>, java.lang.Class<?>);
descriptor: (Ljava/util/Set;Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.lang.Class.getInterfaces:()[Ljava/lang/Class;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 6
StackMap locals: org.apache.commons.lang3.ClassUtils$2 java.util.Set java.lang.Class top int int java.lang.Class[]
StackMap stack:
1: aload 6
iload 4
aaload
astore 3
start local 3 2: aload 0
getfield org.apache.commons.lang3.ClassUtils$2.val$seenInterfaces:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 4
3: aload 1
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals: org.apache.commons.lang3.ClassUtils$2 java.util.Set java.lang.Class java.lang.Class int int java.lang.Class[]
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual org.apache.commons.lang3.ClassUtils$2.walkInterfaces:(Ljava/util/Set;Ljava/lang/Class;)V
end local 3 5: iinc 4 1
StackMap locals: org.apache.commons.lang3.ClassUtils$2 java.util.Set java.lang.Class top int int java.lang.Class[]
StackMap stack:
6: iload 4
iload 5
if_icmplt 1
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/lang3/ClassUtils$2;
0 8 1 addTo Ljava/util/Set<Ljava/lang/Class<*>;>;
0 8 2 c Ljava/lang/Class<*>;
2 5 3 iface Ljava/lang/Class<*>;
Signature: (Ljava/util/Set<Ljava/lang/Class<*>;>;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
addTo final
c final
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/lang3/ClassUtils$2;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.apache.commons.lang3.ClassUtils$2.next:()Ljava/lang/Class;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<Ljava/lang/Class<*>;>;
SourceFile: "ClassUtils.java"
EnclosingMethod: org.apache.commons.lang3.ClassUtils.lambda$1:(Ljava/lang/Iterable;)Ljava/util/Iterator;
NestHost: org.apache.commons.lang3.ClassUtils
InnerClasses:
org.apache.commons.lang3.ClassUtils$2