public final class javax.tools.DiagnosticCollector<S> implements javax.tools.DiagnosticListener<S>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javax.tools.DiagnosticCollector
super_class: java.lang.Object
{
private java.util.List<javax.tools.Diagnostic<? extends S>> diagnostics;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljavax/tools/Diagnostic<+TS;>;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
invokestatic java.util.Collections.synchronizedList:(Ljava/util/List;)Ljava/util/List;
putfield javax.tools.DiagnosticCollector.diagnostics:Ljava/util/List;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/tools/DiagnosticCollector<TS;>;
public void report(javax.tools.Diagnostic<? extends S>);
descriptor: (Ljavax/tools/Diagnostic;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield javax.tools.DiagnosticCollector.diagnostics:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/tools/DiagnosticCollector<TS;>;
0 3 1 diagnostic Ljavax/tools/Diagnostic<+TS;>;
Signature: (Ljavax/tools/Diagnostic<+TS;>;)V
MethodParameters:
Name Flags
diagnostic
public java.util.List<javax.tools.Diagnostic<? extends S>> getDiagnostics();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.tools.DiagnosticCollector.diagnostics:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/tools/DiagnosticCollector<TS;>;
Signature: ()Ljava/util/List<Ljavax/tools/Diagnostic<+TS;>;>;
}
Signature: <S:Ljava/lang/Object;>Ljava/lang/Object;Ljavax/tools/DiagnosticListener<TS;>;
SourceFile: "DiagnosticCollector.java"