class jdk.jshell.OuterWrap$WrappedDiagnostic extends jdk.jshell.Diag
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.jshell.OuterWrap$WrappedDiagnostic
  super_class: jdk.jshell.Diag
{
  final javax.tools.Diagnostic<? extends javax.tools.JavaFileObject> diag;
    descriptor: Ljavax/tools/Diagnostic;
    flags: (0x0010) ACC_FINAL
    Signature: Ljavax/tools/Diagnostic<+Ljavax/tools/JavaFileObject;>;

  final jdk.jshell.OuterWrap this$0;
    descriptor: Ljdk/jshell/OuterWrap;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  void <init>(javax.tools.Diagnostic<? extends javax.tools.JavaFileObject>);
    descriptor: (Ljdk/jshell/OuterWrap;Ljavax/tools/Diagnostic;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
        start local 2 // javax.tools.Diagnostic diag
         0: .line 127
            aload 0 /* this */
            aload 1
            putfield jdk.jshell.OuterWrap$WrappedDiagnostic.this$0:Ljdk/jshell/OuterWrap;
            aload 0 /* this */
            invokespecial jdk.jshell.Diag.<init>:()V
         1: .line 128
            aload 0 /* this */
            aload 2 /* diag */
            putfield jdk.jshell.OuterWrap$WrappedDiagnostic.diag:Ljavax/tools/Diagnostic;
         2: .line 129
            return
        end local 2 // javax.tools.Diagnostic diag
        end local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jshell/OuterWrap$WrappedDiagnostic;
            0    3     2  diag  Ljavax/tools/Diagnostic<+Ljavax/tools/JavaFileObject;>;
    Signature: (Ljavax/tools/Diagnostic<+Ljavax/tools/JavaFileObject;>;)V
    MethodParameters:
        Name  Flags
      this$0  final
      diag    

  public boolean isError();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
         0: .line 133
            aload 0 /* this */
            getfield jdk.jshell.OuterWrap$WrappedDiagnostic.diag:Ljavax/tools/Diagnostic;
            invokeinterface javax.tools.Diagnostic.getKind:()Ljavax/tools/Diagnostic$Kind;
            getstatic javax.tools.Diagnostic$Kind.ERROR:Ljavax/tools/Diagnostic$Kind;
            if_acmpne 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jshell/OuterWrap$WrappedDiagnostic;

  public long getPosition();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
         0: .line 138
            aload 0 /* this */
            getfield jdk.jshell.OuterWrap$WrappedDiagnostic.this$0:Ljdk/jshell/OuterWrap;
            aload 0 /* this */
            getfield jdk.jshell.OuterWrap$WrappedDiagnostic.diag:Ljavax/tools/Diagnostic;
            invokeinterface javax.tools.Diagnostic.getPosition:()J
            invokevirtual jdk.jshell.OuterWrap.wrapIndexToSnippetIndex:(J)I
            i2l
            lreturn
        end local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jshell/OuterWrap$WrappedDiagnostic;

  public long getStartPosition();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
         0: .line 143
            aload 0 /* this */
            getfield jdk.jshell.OuterWrap$WrappedDiagnostic.this$0:Ljdk/jshell/OuterWrap;
            aload 0 /* this */
            getfield jdk.jshell.OuterWrap$WrappedDiagnostic.diag:Ljavax/tools/Diagnostic;
            invokeinterface javax.tools.Diagnostic.getStartPosition:()J
            invokevirtual jdk.jshell.OuterWrap.wrapIndexToSnippetIndex:(J)I
            i2l
            lreturn
        end local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jshell/OuterWrap$WrappedDiagnostic;

  public long getEndPosition();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
         0: .line 148
            aload 0 /* this */
            getfield jdk.jshell.OuterWrap$WrappedDiagnostic.this$0:Ljdk/jshell/OuterWrap;
            aload 0 /* this */
            getfield jdk.jshell.OuterWrap$WrappedDiagnostic.diag:Ljavax/tools/Diagnostic;
            invokeinterface javax.tools.Diagnostic.getEndPosition:()J
            invokevirtual jdk.jshell.OuterWrap.wrapIndexToSnippetIndex:(J)I
            i2l
            lreturn
        end local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jshell/OuterWrap$WrappedDiagnostic;

  public java.lang.String getCode();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
         0: .line 153
            aload 0 /* this */
            getfield jdk.jshell.OuterWrap$WrappedDiagnostic.diag:Ljavax/tools/Diagnostic;
            invokeinterface javax.tools.Diagnostic.getCode:()Ljava/lang/String;
            areturn
        end local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jshell/OuterWrap$WrappedDiagnostic;

  public java.lang.String getMessage(java.util.Locale);
    descriptor: (Ljava/util/Locale;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
        start local 1 // java.util.Locale locale
         0: .line 158
            aload 0 /* this */
            getfield jdk.jshell.OuterWrap$WrappedDiagnostic.diag:Ljavax/tools/Diagnostic;
            aload 1 /* locale */
            invokeinterface javax.tools.Diagnostic.getMessage:(Ljava/util/Locale;)Ljava/lang/String;
            invokestatic jdk.jshell.Util.expunge:(Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 1 // java.util.Locale locale
        end local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Ljdk/jshell/OuterWrap$WrappedDiagnostic;
            0    1     1  locale  Ljava/util/Locale;
    MethodParameters:
        Name  Flags
      locale  

  boolean isResolutionError();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=2, locals=5, args_size=1
        start local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
         0: .line 163
            aload 0 /* this */
            invokespecial jdk.jshell.Diag.isResolutionError:()Z
            ifne 2
         1: .line 164
            iconst_0
            ireturn
         2: .line 166
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jshell.OuterWrap$WrappedDiagnostic.diag:Ljavax/tools/Diagnostic;
            getstatic jdk.jshell.Util.PARSED_LOCALE:Ljava/util/Locale;
            invokeinterface javax.tools.Diagnostic.getMessage:(Ljava/util/Locale;)Ljava/lang/String;
            ldc "\\r?\\n"
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            dup
            astore 4
            arraylength
            istore 3
            iconst_0
            istore 2
            goto 8
      StackMap locals: jdk.jshell.OuterWrap$WrappedDiagnostic top int int java.lang.String[]
      StackMap stack:
         3: aload 4
            iload 2
            aaload
            astore 1 /* line */
        start local 1 // java.lang.String line
         4: .line 167
            aload 1 /* line */
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            ldc "location:"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 7
         5: .line 168
            aload 1 /* line */
            ldc "$JShell$"
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifne 7
         6: .line 170
            iconst_0
            ireturn
        end local 1 // java.lang.String line
         7: .line 166
      StackMap locals:
      StackMap stack:
            iinc 2 1
      StackMap locals:
      StackMap stack:
         8: iload 2
            iload 3
            if_icmplt 3
         9: .line 174
            iconst_1
            ireturn
        end local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Ljdk/jshell/OuterWrap$WrappedDiagnostic;
            4    7     1  line  Ljava/lang/String;

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
         0: .line 179
            new java.lang.StringBuilder
            dup
            ldc "WrappedDiagnostic("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            aconst_null
            invokevirtual jdk.jshell.OuterWrap$WrappedDiagnostic.getMessage:(Ljava/util/Locale;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ":"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            invokevirtual jdk.jshell.OuterWrap$WrappedDiagnostic.getPosition:()J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // jdk.jshell.OuterWrap$WrappedDiagnostic this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jshell/OuterWrap$WrappedDiagnostic;
}
SourceFile: "OuterWrap.java"
NestHost: jdk.jshell.OuterWrap
InnerClasses:
  public final Kind = javax.tools.Diagnostic$Kind of javax.tools.Diagnostic
  WrappedDiagnostic = jdk.jshell.OuterWrap$WrappedDiagnostic of jdk.jshell.OuterWrap