public class com.sun.tools.sjavac.server.log.LoggingOutputStream extends java.io.FilterOutputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.sjavac.server.log.LoggingOutputStream
super_class: java.io.FilterOutputStream
{
private static final byte[] LINE_SEP;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final com.sun.tools.sjavac.Log$Level level;
descriptor: Lcom/sun/tools/sjavac/Log$Level;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String linePrefix;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.sun.tools.sjavac.server.log.LoggingOutputStream$EolTrackingByteArrayOutputStream buf;
descriptor: Lcom/sun/tools/sjavac/server/log/LoggingOutputStream$EolTrackingByteArrayOutputStream;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.String.getBytes:()[B
putstatic com.sun.tools.sjavac.server.log.LoggingOutputStream.LINE_SEP:[B
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.io.OutputStream, com.sun.tools.sjavac.Log$Level, java.lang.String);
descriptor: (Ljava/io/OutputStream;Lcom/sun/tools/sjavac/Log$Level;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial java.io.FilterOutputStream.<init>:(Ljava/io/OutputStream;)V
1: aload 0
new com.sun.tools.sjavac.server.log.LoggingOutputStream$EolTrackingByteArrayOutputStream
dup
invokespecial com.sun.tools.sjavac.server.log.LoggingOutputStream$EolTrackingByteArrayOutputStream.<init>:()V
putfield com.sun.tools.sjavac.server.log.LoggingOutputStream.buf:Lcom/sun/tools/sjavac/server/log/LoggingOutputStream$EolTrackingByteArrayOutputStream;
2: aload 0
aload 2
putfield com.sun.tools.sjavac.server.log.LoggingOutputStream.level:Lcom/sun/tools/sjavac/Log$Level;
3: aload 0
aload 3
putfield com.sun.tools.sjavac.server.log.LoggingOutputStream.linePrefix:Ljava/lang/String;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/sjavac/server/log/LoggingOutputStream;
0 5 1 out Ljava/io/OutputStream;
0 5 2 level Lcom/sun/tools/sjavac/Log$Level;
0 5 3 linePrefix Ljava/lang/String;
MethodParameters:
Name Flags
out
level
linePrefix
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial java.io.FilterOutputStream.write:(I)V
1: aload 0
getfield com.sun.tools.sjavac.server.log.LoggingOutputStream.buf:Lcom/sun/tools/sjavac/server/log/LoggingOutputStream$EolTrackingByteArrayOutputStream;
iload 1
invokevirtual com.sun.tools.sjavac.server.log.LoggingOutputStream$EolTrackingByteArrayOutputStream.write:(I)V
2: aload 0
getfield com.sun.tools.sjavac.server.log.LoggingOutputStream.buf:Lcom/sun/tools/sjavac/server/log/LoggingOutputStream$EolTrackingByteArrayOutputStream;
invokevirtual com.sun.tools.sjavac.server.log.LoggingOutputStream$EolTrackingByteArrayOutputStream.isLineComplete:()Z
ifeq 6
3: new java.lang.String
dup
aload 0
getfield com.sun.tools.sjavac.server.log.LoggingOutputStream.buf:Lcom/sun/tools/sjavac/server/log/LoggingOutputStream$EolTrackingByteArrayOutputStream;
invokevirtual com.sun.tools.sjavac.server.log.LoggingOutputStream$EolTrackingByteArrayOutputStream.toByteArray:()[B
iconst_0
aload 0
getfield com.sun.tools.sjavac.server.log.LoggingOutputStream.buf:Lcom/sun/tools/sjavac/server/log/LoggingOutputStream$EolTrackingByteArrayOutputStream;
invokevirtual com.sun.tools.sjavac.server.log.LoggingOutputStream$EolTrackingByteArrayOutputStream.size:()I
getstatic com.sun.tools.sjavac.server.log.LoggingOutputStream.LINE_SEP:[B
arraylength
isub
invokespecial java.lang.String.<init>:([BII)V
astore 2
start local 2 4: aload 0
getfield com.sun.tools.sjavac.server.log.LoggingOutputStream.level:Lcom/sun/tools/sjavac/Log$Level;
new java.lang.StringBuilder
dup
aload 0
getfield com.sun.tools.sjavac.server.log.LoggingOutputStream.linePrefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.log:(Lcom/sun/tools/sjavac/Log$Level;Ljava/lang/String;)V
5: aload 0
new com.sun.tools.sjavac.server.log.LoggingOutputStream$EolTrackingByteArrayOutputStream
dup
invokespecial com.sun.tools.sjavac.server.log.LoggingOutputStream$EolTrackingByteArrayOutputStream.<init>:()V
putfield com.sun.tools.sjavac.server.log.LoggingOutputStream.buf:Lcom/sun/tools/sjavac/server/log/LoggingOutputStream$EolTrackingByteArrayOutputStream;
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/sjavac/server/log/LoggingOutputStream;
0 7 1 b I
4 6 2 line Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
}
SourceFile: "LoggingOutputStream.java"
NestMembers:
com.sun.tools.sjavac.server.log.LoggingOutputStream$EolTrackingByteArrayOutputStream
InnerClasses:
public final Level = com.sun.tools.sjavac.Log$Level of com.sun.tools.sjavac.Log
private EolTrackingByteArrayOutputStream = com.sun.tools.sjavac.server.log.LoggingOutputStream$EolTrackingByteArrayOutputStream of com.sun.tools.sjavac.server.log.LoggingOutputStream