class com.sun.tools.javac.util.Iterators$2 implements java.util.Iterator<E>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.javac.util.Iterators$2
super_class: java.lang.Object
{
private E current;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: TE;
private final java.util.Iterator val$input;
descriptor: Ljava/util/Iterator;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.util.function.Predicate val$test;
descriptor: Ljava/util/function/Predicate;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.Iterator, java.util.function.Predicate);
descriptor: (Ljava/util/Iterator;Ljava/util/function/Predicate;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield com.sun.tools.javac.util.Iterators$2.val$input:Ljava/util/Iterator;
aload 0
aload 2
putfield com.sun.tools.javac.util.Iterators$2.val$test:Ljava/util/function/Predicate;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
invokevirtual com.sun.tools.javac.util.Iterators$2.update:()Ljava/lang/Object;
putfield com.sun.tools.javac.util.Iterators$2.current:Ljava/lang/Object;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/util/Iterators$2;
MethodParameters:
Name Flags
val$input final
val$test final
private E update();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: goto 4
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.Iterators$2.val$input:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 1
start local 1 2: aload 0
getfield com.sun.tools.javac.util.Iterators$2.val$test:Ljava/util/function/Predicate;
aload 1
invokeinterface java.util.function.Predicate.test:(Ljava/lang/Object;)Z
ifeq 4
3: aload 1
areturn
end local 1 4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.Iterators$2.val$input:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javac/util/Iterators$2;
2 4 1 sym TE;
Signature: ()TE;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.util.Iterators$2.current:Ljava/lang/Object;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/util/Iterators$2;
public E next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.util.Iterators$2.current:Ljava/lang/Object;
astore 1
start local 1 1: aload 0
aload 0
invokevirtual com.sun.tools.javac.util.Iterators$2.update:()Ljava/lang/Object;
putfield com.sun.tools.javac.util.Iterators$2.current:Ljava/lang/Object;
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/util/Iterators$2;
1 3 1 res TE;
Signature: ()TE;
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<TE;>;
SourceFile: "Iterators.java"
EnclosingMethod: com.sun.tools.javac.util.Iterators.createFilterIterator:(Ljava/util/Iterator;Ljava/util/function/Predicate;)Ljava/util/Iterator;
NestHost: com.sun.tools.javac.util.Iterators
InnerClasses:
com.sun.tools.javac.util.Iterators$2