public class com.sun.tools.internal.xjc.ConsoleErrorReporter extends com.sun.tools.internal.xjc.ErrorReceiver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.xjc.ConsoleErrorReporter
super_class: com.sun.tools.internal.xjc.ErrorReceiver
{
private java.io.PrintStream output;
descriptor: Ljava/io/PrintStream;
flags: (0x0002) ACC_PRIVATE
private boolean hadError;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.sun.tools.internal.xjc.ErrorReceiver.<init>:()V
1: aload 0
iconst_0
putfield com.sun.tools.internal.xjc.ConsoleErrorReporter.hadError:Z
2: aload 0
aload 1
putfield com.sun.tools.internal.xjc.ConsoleErrorReporter.output:Ljava/io/PrintStream;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/internal/xjc/ConsoleErrorReporter;
0 4 1 out Ljava/io/PrintStream;
MethodParameters:
Name Flags
out
public void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.io.PrintStream
dup
aload 1
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
invokespecial com.sun.tools.internal.xjc.ConsoleErrorReporter.<init>:(Ljava/io/PrintStream;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/xjc/ConsoleErrorReporter;
0 2 1 out Ljava/io/OutputStream;
MethodParameters:
Name Flags
out
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokespecial com.sun.tools.internal.xjc.ConsoleErrorReporter.<init>:(Ljava/io/PrintStream;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/ConsoleErrorReporter;
public void warning(org.xml.sax.SAXParseException);
descriptor: (Lorg/xml/sax/SAXParseException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "Driver.WarningMessage"
aload 1
invokevirtual com.sun.tools.internal.xjc.ConsoleErrorReporter.print:(Ljava/lang/String;Lorg/xml/sax/SAXParseException;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/xjc/ConsoleErrorReporter;
0 2 1 e Lorg/xml/sax/SAXParseException;
MethodParameters:
Name Flags
e
public void error(org.xml.sax.SAXParseException);
descriptor: (Lorg/xml/sax/SAXParseException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield com.sun.tools.internal.xjc.ConsoleErrorReporter.hadError:Z
1: aload 0
ldc "Driver.ErrorMessage"
aload 1
invokevirtual com.sun.tools.internal.xjc.ConsoleErrorReporter.print:(Ljava/lang/String;Lorg/xml/sax/SAXParseException;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/xjc/ConsoleErrorReporter;
0 3 1 e Lorg/xml/sax/SAXParseException;
MethodParameters:
Name Flags
e
public void fatalError(org.xml.sax.SAXParseException);
descriptor: (Lorg/xml/sax/SAXParseException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield com.sun.tools.internal.xjc.ConsoleErrorReporter.hadError:Z
1: aload 0
ldc "Driver.ErrorMessage"
aload 1
invokevirtual com.sun.tools.internal.xjc.ConsoleErrorReporter.print:(Ljava/lang/String;Lorg/xml/sax/SAXParseException;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/xjc/ConsoleErrorReporter;
0 3 1 e Lorg/xml/sax/SAXParseException;
MethodParameters:
Name Flags
e
public void info(org.xml.sax.SAXParseException);
descriptor: (Lorg/xml/sax/SAXParseException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "Driver.InfoMessage"
aload 1
invokevirtual com.sun.tools.internal.xjc.ConsoleErrorReporter.print:(Ljava/lang/String;Lorg/xml/sax/SAXParseException;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/xjc/ConsoleErrorReporter;
0 2 1 e Lorg/xml/sax/SAXParseException;
MethodParameters:
Name Flags
e
public boolean hadError();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.xjc.ConsoleErrorReporter.hadError:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/ConsoleErrorReporter;
private void print(java.lang.String, org.xml.sax.SAXParseException);
descriptor: (Ljava/lang/String;Lorg/xml/sax/SAXParseException;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.internal.xjc.ConsoleErrorReporter.output:Ljava/io/PrintStream;
aload 1
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual org.xml.sax.SAXParseException.getMessage:()Ljava/lang/String;
aastore
invokestatic com.sun.tools.internal.xjc.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: aload 0
getfield com.sun.tools.internal.xjc.ConsoleErrorReporter.output:Ljava/io/PrintStream;
aload 0
aload 2
invokevirtual com.sun.tools.internal.xjc.ConsoleErrorReporter.getLocationString:(Lorg/xml/sax/SAXParseException;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: aload 0
getfield com.sun.tools.internal.xjc.ConsoleErrorReporter.output:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/internal/xjc/ConsoleErrorReporter;
0 4 1 resource Ljava/lang/String;
0 4 2 e Lorg/xml/sax/SAXParseException;
MethodParameters:
Name Flags
resource
e
}
SourceFile: "ConsoleErrorReporter.java"