public class jdk.nashorn.internal.runtime.ErrorManager
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.nashorn.internal.runtime.ErrorManager
  super_class: java.lang.Object
{
  private final java.io.PrintWriter writer;
    descriptor: Ljava/io/PrintWriter;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private int errors;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int warnings;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int limit;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private boolean warningsAsErrors;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // jdk.nashorn.internal.runtime.ErrorManager this
         0: .line 58
            aload 0 /* this */
            new java.io.PrintWriter
            dup
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            iconst_1
            invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;Z)V
            invokespecial jdk.nashorn.internal.runtime.ErrorManager.<init>:(Ljava/io/PrintWriter;)V
         1: .line 59
            return
        end local 0 // jdk.nashorn.internal.runtime.ErrorManager this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/nashorn/internal/runtime/ErrorManager;

  public void <init>(java.io.PrintWriter);
    descriptor: (Ljava/io/PrintWriter;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.nashorn.internal.runtime.ErrorManager this
        start local 1 // java.io.PrintWriter writer
         0: .line 65
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 66
            aload 0 /* this */
            aload 1 /* writer */
            putfield jdk.nashorn.internal.runtime.ErrorManager.writer:Ljava/io/PrintWriter;
         2: .line 67
            aload 0 /* this */
            bipush 100
            putfield jdk.nashorn.internal.runtime.ErrorManager.limit:I
         3: .line 68
            aload 0 /* this */
            iconst_0
            putfield jdk.nashorn.internal.runtime.ErrorManager.warningsAsErrors:Z
         4: .line 69
            return
        end local 1 // java.io.PrintWriter writer
        end local 0 // jdk.nashorn.internal.runtime.ErrorManager this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Ljdk/nashorn/internal/runtime/ErrorManager;
            0    5     1  writer  Ljava/io/PrintWriter;
    MethodParameters:
        Name  Flags
      writer  final

  private void checkLimit();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // jdk.nashorn.internal.runtime.ErrorManager this
         0: .line 75
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ErrorManager.errors:I
            istore 1 /* count */
        start local 1 // int count
         1: .line 77
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ErrorManager.warningsAsErrors:Z
            ifeq 3
         2: .line 78
            iload 1 /* count */
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ErrorManager.warnings:I
            iadd
            istore 1 /* count */
         3: .line 81
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ErrorManager.limit:I
            ifeq 5
            iload 1 /* count */
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ErrorManager.limit:I
            if_icmple 5
         4: .line 82
            ldc "too.many.errors"
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ErrorManager.limit:I
            invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
            aastore
            invokestatic jdk.nashorn.internal.runtime.ECMAErrors.rangeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
            athrow
         5: .line 84
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int count
        end local 0 // jdk.nashorn.internal.runtime.ErrorManager this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0   this  Ljdk/nashorn/internal/runtime/ErrorManager;
            1    6     1  count  I

  public static java.lang.String format(java.lang.String, jdk.nashorn.internal.runtime.Source, int, int, long);
    descriptor: (Ljava/lang/String;Ljdk/nashorn/internal/runtime/Source;IIJ)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=11, args_size=5
        start local 0 // java.lang.String message
        start local 1 // jdk.nashorn.internal.runtime.Source source
        start local 2 // int line
        start local 3 // int column
        start local 4 // long token
         0: .line 96
            invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
            astore 6 /* eoln */
        start local 6 // java.lang.String eoln
         1: .line 97
            lload 4 /* token */
            invokestatic jdk.nashorn.internal.parser.Token.descPosition:(J)I
            istore 7 /* position */
        start local 7 // int position
         2: .line 98
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 8 /* sb */
        start local 8 // java.lang.StringBuilder sb
         3: .line 101
            aload 8 /* sb */
            aload 1 /* source */
            invokevirtual jdk.nashorn.internal.runtime.Source.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         4: .line 102
            bipush 58
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
         5: .line 103
            iload 2 /* line */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
         6: .line 104
            bipush 58
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
         7: .line 105
            iload 3 /* column */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
         8: .line 106
            bipush 32
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
         9: .line 107
            aload 0 /* message */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        10: .line 108
            aload 6 /* eoln */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        11: .line 111
            aload 1 /* source */
            iload 7 /* position */
            invokevirtual jdk.nashorn.internal.runtime.Source.getSourceLine:(I)Ljava/lang/String;
            astore 9 /* sourceLine */
        start local 9 // java.lang.String sourceLine
        12: .line 112
            aload 8 /* sb */
            aload 9 /* sourceLine */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 6 /* eoln */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        13: .line 115
            iconst_0
            istore 10 /* i */
        start local 10 // int i
        14: goto 20
        15: .line 116
      StackMap locals: java.lang.String jdk.nashorn.internal.runtime.Source int int long java.lang.String int java.lang.StringBuilder java.lang.String int
      StackMap stack:
            iload 10 /* i */
            aload 9 /* sourceLine */
            invokevirtual java.lang.String.length:()I
            if_icmpge 18
            aload 9 /* sourceLine */
            iload 10 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            bipush 9
            if_icmpne 18
        16: .line 117
            aload 8 /* sb */
            bipush 9
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        17: .line 118
            goto 19
        18: .line 119
      StackMap locals:
      StackMap stack:
            aload 8 /* sb */
            bipush 32
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        19: .line 115
      StackMap locals:
      StackMap stack:
            iinc 10 /* i */ 1
      StackMap locals:
      StackMap stack:
        20: iload 10 /* i */
            iload 3 /* column */
            if_icmplt 15
        end local 10 // int i
        21: .line 123
            aload 8 /* sb */
            bipush 94
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        22: .line 127
            aload 8 /* sb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 9 // java.lang.String sourceLine
        end local 8 // java.lang.StringBuilder sb
        end local 7 // int position
        end local 6 // java.lang.String eoln
        end local 4 // long token
        end local 3 // int column
        end local 2 // int line
        end local 1 // jdk.nashorn.internal.runtime.Source source
        end local 0 // java.lang.String message
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   23     0     message  Ljava/lang/String;
            0   23     1      source  Ljdk/nashorn/internal/runtime/Source;
            0   23     2        line  I
            0   23     3      column  I
            0   23     4       token  J
            1   23     6        eoln  Ljava/lang/String;
            2   23     7    position  I
            3   23     8          sb  Ljava/lang/StringBuilder;
           12   23     9  sourceLine  Ljava/lang/String;
           14   21    10           i  I
    MethodParameters:
         Name  Flags
      message  final
      source   final
      line     final
      column   final
      token    final

  public void error(jdk.nashorn.internal.runtime.ParserException);
    descriptor: (Ljdk/nashorn/internal/runtime/ParserException;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.nashorn.internal.runtime.ErrorManager this
        start local 1 // jdk.nashorn.internal.runtime.ParserException e
         0: .line 137
            aload 0 /* this */
            aload 1 /* e */
            invokevirtual jdk.nashorn.internal.runtime.ParserException.getMessage:()Ljava/lang/String;
            invokevirtual jdk.nashorn.internal.runtime.ErrorManager.error:(Ljava/lang/String;)V
         1: .line 138
            return
        end local 1 // jdk.nashorn.internal.runtime.ParserException e
        end local 0 // jdk.nashorn.internal.runtime.ErrorManager this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/nashorn/internal/runtime/ErrorManager;
            0    2     1     e  Ljdk/nashorn/internal/runtime/ParserException;
    MethodParameters:
      Name  Flags
      e     final

  public void error(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.nashorn.internal.runtime.ErrorManager this
        start local 1 // java.lang.String message
         0: .line 146
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ErrorManager.writer:Ljava/io/PrintWriter;
            aload 1 /* message */
            invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
         1: .line 147
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ErrorManager.writer:Ljava/io/PrintWriter;
            invokevirtual java.io.PrintWriter.flush:()V
         2: .line 148
            aload 0 /* this */
            dup
            getfield jdk.nashorn.internal.runtime.ErrorManager.errors:I
            iconst_1
            iadd
            putfield jdk.nashorn.internal.runtime.ErrorManager.errors:I
         3: .line 149
            aload 0 /* this */
            invokevirtual jdk.nashorn.internal.runtime.ErrorManager.checkLimit:()V
         4: .line 150
            return
        end local 1 // java.lang.String message
        end local 0 // jdk.nashorn.internal.runtime.ErrorManager this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Ljdk/nashorn/internal/runtime/ErrorManager;
            0    5     1  message  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      message  final

  public void warning(jdk.nashorn.internal.runtime.ParserException);
    descriptor: (Ljdk/nashorn/internal/runtime/ParserException;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.nashorn.internal.runtime.ErrorManager this
        start local 1 // jdk.nashorn.internal.runtime.ParserException e
         0: .line 158
            aload 0 /* this */
            aload 1 /* e */
            invokevirtual jdk.nashorn.internal.runtime.ParserException.getMessage:()Ljava/lang/String;
            invokevirtual jdk.nashorn.internal.runtime.ErrorManager.warning:(Ljava/lang/String;)V
         1: .line 159
            return
        end local 1 // jdk.nashorn.internal.runtime.ParserException e
        end local 0 // jdk.nashorn.internal.runtime.ErrorManager this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/nashorn/internal/runtime/ErrorManager;
            0    2     1     e  Ljdk/nashorn/internal/runtime/ParserException;
    MethodParameters:
      Name  Flags
      e     final

  public void warning(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.nashorn.internal.runtime.ErrorManager this
        start local 1 // java.lang.String message
         0: .line 167
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ErrorManager.writer:Ljava/io/PrintWriter;
            aload 1 /* message */
            invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
         1: .line 168
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ErrorManager.writer:Ljava/io/PrintWriter;
            invokevirtual java.io.PrintWriter.flush:()V
         2: .line 169
            aload 0 /* this */
            dup
            getfield jdk.nashorn.internal.runtime.ErrorManager.warnings:I
            iconst_1
            iadd
            putfield jdk.nashorn.internal.runtime.ErrorManager.warnings:I
         3: .line 170
            aload 0 /* this */
            invokevirtual jdk.nashorn.internal.runtime.ErrorManager.checkLimit:()V
         4: .line 171
            return
        end local 1 // java.lang.String message
        end local 0 // jdk.nashorn.internal.runtime.ErrorManager this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Ljdk/nashorn/internal/runtime/ErrorManager;
            0    5     1  message  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      message  final

  public boolean hasErrors();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.internal.runtime.ErrorManager this
         0: .line 178
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ErrorManager.errors:I
            ifeq 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // jdk.nashorn.internal.runtime.ErrorManager this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/nashorn/internal/runtime/ErrorManager;

  public int getLimit();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.internal.runtime.ErrorManager this
         0: .line 186
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ErrorManager.limit:I
            ireturn
        end local 0 // jdk.nashorn.internal.runtime.ErrorManager this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/internal/runtime/ErrorManager;

  public void setLimit(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.nashorn.internal.runtime.ErrorManager this
        start local 1 // int limit
         0: .line 194
            aload 0 /* this */
            iload 1 /* limit */
            putfield jdk.nashorn.internal.runtime.ErrorManager.limit:I
         1: .line 195
            return
        end local 1 // int limit
        end local 0 // jdk.nashorn.internal.runtime.ErrorManager this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Ljdk/nashorn/internal/runtime/ErrorManager;
            0    2     1  limit  I
    MethodParameters:
       Name  Flags
      limit  final

  public boolean isWarningsAsErrors();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.internal.runtime.ErrorManager this
         0: .line 202
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ErrorManager.warningsAsErrors:Z
            ireturn
        end local 0 // jdk.nashorn.internal.runtime.ErrorManager this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/internal/runtime/ErrorManager;

  public void setWarningsAsErrors(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.nashorn.internal.runtime.ErrorManager this
        start local 1 // boolean warningsAsErrors
         0: .line 210
            aload 0 /* this */
            iload 1 /* warningsAsErrors */
            putfield jdk.nashorn.internal.runtime.ErrorManager.warningsAsErrors:Z
         1: .line 211
            return
        end local 1 // boolean warningsAsErrors
        end local 0 // jdk.nashorn.internal.runtime.ErrorManager this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    2     0              this  Ljdk/nashorn/internal/runtime/ErrorManager;
            0    2     1  warningsAsErrors  Z
    MethodParameters:
                  Name  Flags
      warningsAsErrors  final

  public int getNumberOfErrors();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.internal.runtime.ErrorManager this
         0: .line 218
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ErrorManager.errors:I
            ireturn
        end local 0 // jdk.nashorn.internal.runtime.ErrorManager this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/internal/runtime/ErrorManager;

  public int getNumberOfWarnings();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.internal.runtime.ErrorManager this
         0: .line 226
            aload 0 /* this */
            getfield jdk.nashorn.internal.runtime.ErrorManager.warnings:I
            ireturn
        end local 0 // jdk.nashorn.internal.runtime.ErrorManager this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/internal/runtime/ErrorManager;

  void reset();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.nashorn.internal.runtime.ErrorManager this
         0: .line 233
            aload 0 /* this */
            iconst_0
            putfield jdk.nashorn.internal.runtime.ErrorManager.warnings:I
         1: .line 234
            aload 0 /* this */
            iconst_0
            putfield jdk.nashorn.internal.runtime.ErrorManager.errors:I
         2: .line 235
            return
        end local 0 // jdk.nashorn.internal.runtime.ErrorManager this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/nashorn/internal/runtime/ErrorManager;
}
SourceFile: "ErrorManager.java"