final class jdk.jshell.DiagList extends java.util.ArrayList<jdk.jshell.Diag>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jshell.DiagList
super_class: java.util.ArrayList
{
private int cntNotStmt;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int cntUnreach;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int cntResolve;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int cntOther;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.ArrayList.<init>:()V
1: aload 0
iconst_0
putfield jdk.jshell.DiagList.cntNotStmt:I
2: aload 0
iconst_0
putfield jdk.jshell.DiagList.cntUnreach:I
3: aload 0
iconst_0
putfield jdk.jshell.DiagList.cntResolve:I
4: aload 0
iconst_0
putfield jdk.jshell.DiagList.cntOther:I
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jshell/DiagList;
void <init>(jdk.jshell.Diag);
descriptor: (Ljdk/jshell/Diag;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.ArrayList.<init>:()V
1: aload 0
iconst_0
putfield jdk.jshell.DiagList.cntNotStmt:I
2: aload 0
iconst_0
putfield jdk.jshell.DiagList.cntUnreach:I
3: aload 0
iconst_0
putfield jdk.jshell.DiagList.cntResolve:I
4: aload 0
iconst_0
putfield jdk.jshell.DiagList.cntOther:I
5: aload 0
aload 1
invokevirtual jdk.jshell.DiagList.add:(Ljdk/jshell/Diag;)Z
pop
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jshell/DiagList;
0 7 1 d Ljdk/jshell/Diag;
MethodParameters:
Name Flags
d
void <init>(java.util.Collection<? extends jdk.jshell.Diag>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.ArrayList.<init>:()V
1: aload 0
iconst_0
putfield jdk.jshell.DiagList.cntNotStmt:I
2: aload 0
iconst_0
putfield jdk.jshell.DiagList.cntUnreach:I
3: aload 0
iconst_0
putfield jdk.jshell.DiagList.cntResolve:I
4: aload 0
iconst_0
putfield jdk.jshell.DiagList.cntOther:I
5: aload 0
aload 1
invokevirtual jdk.jshell.DiagList.addAll:(Ljava/util/Collection;)Z
pop
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jshell/DiagList;
0 7 1 c Ljava/util/Collection<+Ljdk/jshell/Diag;>;
Signature: (Ljava/util/Collection<+Ljdk/jshell/Diag;>;)V
MethodParameters:
Name Flags
c
private void tally(jdk.jshell.Diag);
descriptor: (Ljdk/jshell/Diag;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.jshell.Diag.isError:()Z
ifeq 11
1: aload 1
invokevirtual jdk.jshell.Diag.isUnreachableError:()Z
ifeq 4
2: aload 0
dup
getfield jdk.jshell.DiagList.cntUnreach:I
iconst_1
iadd
putfield jdk.jshell.DiagList.cntUnreach:I
3: goto 11
StackMap locals:
StackMap stack:
4: aload 1
invokevirtual jdk.jshell.Diag.isNotAStatementError:()Z
ifeq 7
5: aload 0
dup
getfield jdk.jshell.DiagList.cntNotStmt:I
iconst_1
iadd
putfield jdk.jshell.DiagList.cntNotStmt:I
6: goto 11
StackMap locals:
StackMap stack:
7: aload 1
invokevirtual jdk.jshell.Diag.isResolutionError:()Z
ifeq 10
8: aload 0
dup
getfield jdk.jshell.DiagList.cntResolve:I
iconst_1
iadd
putfield jdk.jshell.DiagList.cntResolve:I
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
dup
getfield jdk.jshell.DiagList.cntOther:I
iconst_1
iadd
putfield jdk.jshell.DiagList.cntOther:I
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/jshell/DiagList;
0 12 1 d Ljdk/jshell/Diag;
MethodParameters:
Name Flags
d
public boolean addAll(java.util.Collection<? extends jdk.jshell.Diag>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
aload 0
invokedynamic test(Ljdk/jshell/DiagList;)Ljava/util/function/Predicate;
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;)Z
jdk/jshell/DiagList.add(Ljdk/jshell/Diag;)Z (5)
(Ljdk/jshell/Diag;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.count:()J
lconst_0
lcmp
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/DiagList;
0 2 1 c Ljava/util/Collection<+Ljdk/jshell/Diag;>;
Signature: (Ljava/util/Collection<+Ljdk/jshell/Diag;>;)Z
MethodParameters:
Name Flags
c
public jdk.jshell.Diag set(int, jdk.jshell.Diag);
descriptor: (ILjdk/jshell/Diag;)Ljdk/jshell/Diag;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/DiagList;
0 1 1 index I
0 1 2 element Ljdk/jshell/Diag;
MethodParameters:
Name Flags
index
element
public void add(int, jdk.jshell.Diag);
descriptor: (ILjdk/jshell/Diag;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/DiagList;
0 1 1 index I
0 1 2 element Ljdk/jshell/Diag;
MethodParameters:
Name Flags
index
element
public boolean add(jdk.jshell.Diag);
descriptor: (Ljdk/jshell/Diag;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.util.ArrayList.add:(Ljava/lang/Object;)Z
istore 2
start local 2 1: iload 2
ifeq 3
2: aload 0
aload 1
invokevirtual jdk.jshell.DiagList.tally:(Ljdk/jshell/Diag;)V
3: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jshell/DiagList;
0 4 1 d Ljdk/jshell/Diag;
1 4 2 added Z
MethodParameters:
Name Flags
d
public boolean addAll(int, java.util.Collection<? extends jdk.jshell.Diag>);
descriptor: (ILjava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/DiagList;
0 1 1 index I
0 1 2 c Ljava/util/Collection<+Ljdk/jshell/Diag;>;
Signature: (ILjava/util/Collection<+Ljdk/jshell/Diag;>;)Z
MethodParameters:
Name Flags
index
c
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: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/DiagList;
0 1 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
jdk.jshell.DiagList ofUnit(jdk.jshell.Unit);
descriptor: (Ljdk/jshell/Unit;)Ljdk/jshell/DiagList;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.jshell.DiagList.stream:()Ljava/util/stream/Stream;
1: aload 1
invokedynamic test(Ljdk/jshell/Unit;)Ljava/util/function/Predicate;
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;)Z
jdk/jshell/DiagList.lambda$1(Ljdk/jshell/Unit;Ljdk/jshell/Diag;)Z (6)
(Ljdk/jshell/Diag;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
2: invokedynamic get()Ljava/util/function/Supplier;
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;
jdk/jshell/DiagList.<init>()V (8)
()Ljdk/jshell/DiagList;
invokestatic java.util.stream.Collectors.toCollection:(Ljava/util/function/Supplier;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast jdk.jshell.DiagList
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jshell/DiagList;
0 4 1 u Ljdk/jshell/Unit;
MethodParameters:
Name Flags
u
boolean hasErrors();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.DiagList.cntNotStmt:I
aload 0
getfield jdk.jshell.DiagList.cntResolve:I
iadd
aload 0
getfield jdk.jshell.DiagList.cntUnreach:I
iadd
aload 0
getfield jdk.jshell.DiagList.cntOther:I
iadd
ifle 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 Ljdk/jshell/DiagList;
boolean hasResolutionErrorsAndNoOthers();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.DiagList.cntResolve:I
ifle 1
aload 0
getfield jdk.jshell.DiagList.cntNotStmt:I
aload 0
getfield jdk.jshell.DiagList.cntUnreach:I
iadd
aload 0
getfield jdk.jshell.DiagList.cntOther:I
iadd
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 this Ljdk/jshell/DiagList;
boolean hasUnreachableError();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.DiagList.cntUnreach:I
ifle 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 Ljdk/jshell/DiagList;
boolean hasNotStatement();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.DiagList.cntNotStmt:I
ifle 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 Ljdk/jshell/DiagList;
boolean hasOtherThanNotStatementErrors();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.DiagList.cntResolve:I
aload 0
getfield jdk.jshell.DiagList.cntUnreach:I
iadd
aload 0
getfield jdk.jshell.DiagList.cntOther:I
iadd
ifle 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 Ljdk/jshell/DiagList;
public java.lang.Object set(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
iload 1
aload 2
checkcast jdk.jshell.Diag
invokevirtual jdk.jshell.DiagList.set:(ILjdk/jshell/Diag;)Ljdk/jshell/Diag;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean add(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast jdk.jshell.Diag
invokevirtual jdk.jshell.DiagList.add:(Ljdk/jshell/Diag;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void add(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
iload 1
aload 2
checkcast jdk.jshell.Diag
invokevirtual jdk.jshell.DiagList.add:(ILjdk/jshell/Diag;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static boolean lambda$1(jdk.jshell.Unit, jdk.jshell.Diag);
descriptor: (Ljdk/jshell/Unit;Ljdk/jshell/Diag;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=2
start local 1 0: aload 1
invokevirtual jdk.jshell.Diag.snippetOrNull:()Ljdk/jshell/Snippet;
astore 2
start local 2 1: aload 2
aload 0
invokevirtual jdk.jshell.Unit.snippet:()Ljdk/jshell/Snippet;
if_acmpne 2
iconst_1
ireturn
StackMap locals: jdk.jshell.Snippet
StackMap stack:
2: iconst_0
ireturn
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 d Ljdk/jshell/Diag;
1 3 2 snn Ljdk/jshell/Snippet;
}
Signature: Ljava/util/ArrayList<Ljdk/jshell/Diag;>;
SourceFile: "DiagList.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles