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 // javax.tools.DiagnosticCollector this
         0: .line 49
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 43
            aload 0 /* this */
         2: .line 44
            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: .line 49
            return
        end local 0 // javax.tools.DiagnosticCollector this
      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 // javax.tools.DiagnosticCollector this
        start local 1 // javax.tools.Diagnostic diagnostic
         0: .line 52
            aload 1 /* diagnostic */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 53
            aload 0 /* this */
            getfield javax.tools.DiagnosticCollector.diagnostics:Ljava/util/List;
            aload 1 /* diagnostic */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         2: .line 54
            return
        end local 1 // javax.tools.Diagnostic diagnostic
        end local 0 // javax.tools.DiagnosticCollector this
      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 // javax.tools.DiagnosticCollector this
         0: .line 62
            aload 0 /* this */
            getfield javax.tools.DiagnosticCollector.diagnostics:Ljava/util/List;
            invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
            areturn
        end local 0 // javax.tools.DiagnosticCollector this
      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"