public class org.glassfish.grizzly.CloseReason
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.CloseReason
super_class: java.lang.Object
{
private static final java.io.IOException LOCALLY_CLOSED;
descriptor: Ljava/io/IOException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.io.IOException REMOTELY_CLOSED;
descriptor: Ljava/io/IOException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final org.glassfish.grizzly.CloseReason LOCALLY_CLOSED_REASON;
descriptor: Lorg/glassfish/grizzly/CloseReason;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.glassfish.grizzly.CloseReason REMOTELY_CLOSED_REASON;
descriptor: Lorg/glassfish/grizzly/CloseReason;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final org.glassfish.grizzly.CloseType type;
descriptor: Lorg/glassfish/grizzly/CloseType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.IOException cause;
descriptor: Ljava/io/IOException;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new java.io.IOException
dup
ldc "Locally closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
putstatic org.glassfish.grizzly.CloseReason.LOCALLY_CLOSED:Ljava/io/IOException;
1: getstatic org.glassfish.grizzly.CloseReason.LOCALLY_CLOSED:Ljava/io/IOException;
iconst_0
anewarray java.lang.StackTraceElement
invokevirtual java.io.IOException.setStackTrace:([Ljava/lang/StackTraceElement;)V
2: new java.io.IOException
dup
ldc "Remotely closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
putstatic org.glassfish.grizzly.CloseReason.REMOTELY_CLOSED:Ljava/io/IOException;
3: getstatic org.glassfish.grizzly.CloseReason.REMOTELY_CLOSED:Ljava/io/IOException;
iconst_0
anewarray java.lang.StackTraceElement
invokevirtual java.io.IOException.setStackTrace:([Ljava/lang/StackTraceElement;)V
4: new org.glassfish.grizzly.CloseReason
dup
getstatic org.glassfish.grizzly.CloseType.LOCALLY:Lorg/glassfish/grizzly/CloseType;
getstatic org.glassfish.grizzly.CloseReason.LOCALLY_CLOSED:Ljava/io/IOException;
invokespecial org.glassfish.grizzly.CloseReason.<init>:(Lorg/glassfish/grizzly/CloseType;Ljava/io/IOException;)V
putstatic org.glassfish.grizzly.CloseReason.LOCALLY_CLOSED_REASON:Lorg/glassfish/grizzly/CloseReason;
5: new org.glassfish.grizzly.CloseReason
dup
getstatic org.glassfish.grizzly.CloseType.REMOTELY:Lorg/glassfish/grizzly/CloseType;
getstatic org.glassfish.grizzly.CloseReason.REMOTELY_CLOSED:Ljava/io/IOException;
invokespecial org.glassfish.grizzly.CloseReason.<init>:(Lorg/glassfish/grizzly/CloseType;Ljava/io/IOException;)V
putstatic org.glassfish.grizzly.CloseReason.REMOTELY_CLOSED_REASON:Lorg/glassfish/grizzly/CloseReason;
6: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.glassfish.grizzly.CloseType, java.io.IOException);
descriptor: (Lorg/glassfish/grizzly/CloseType;Ljava/io/IOException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.glassfish.grizzly.CloseReason.type:Lorg/glassfish/grizzly/CloseType;
2: aload 0
aload 2
ifnull 3
aload 2
goto 5
StackMap locals: org.glassfish.grizzly.CloseReason org.glassfish.grizzly.CloseType java.io.IOException
StackMap stack: org.glassfish.grizzly.CloseReason
3: aload 1
getstatic org.glassfish.grizzly.CloseType.LOCALLY:Lorg/glassfish/grizzly/CloseType;
if_acmpne 4
getstatic org.glassfish.grizzly.CloseReason.LOCALLY_CLOSED:Ljava/io/IOException;
goto 5
StackMap locals:
StackMap stack: org.glassfish.grizzly.CloseReason
4: getstatic org.glassfish.grizzly.CloseReason.REMOTELY_CLOSED:Ljava/io/IOException;
StackMap locals: org.glassfish.grizzly.CloseReason org.glassfish.grizzly.CloseType java.io.IOException
StackMap stack: org.glassfish.grizzly.CloseReason java.io.IOException
5: putfield org.glassfish.grizzly.CloseReason.cause:Ljava/io/IOException;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/CloseReason;
0 7 1 type Lorg/glassfish/grizzly/CloseType;
0 7 2 cause Ljava/io/IOException;
MethodParameters:
Name Flags
type final
cause final
public org.glassfish.grizzly.CloseType getType();
descriptor: ()Lorg/glassfish/grizzly/CloseType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.CloseReason.type:Lorg/glassfish/grizzly/CloseType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/CloseReason;
public java.io.IOException getCause();
descriptor: ()Ljava/io/IOException;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.CloseReason.cause:Ljava/io/IOException;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/CloseReason;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokespecial java.lang.Object.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "[type="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.glassfish.grizzly.CloseReason.getType:()Lorg/glassfish/grizzly/CloseType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", cause="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.glassfish.grizzly.CloseReason.getCause:()Ljava/io/IOException;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/CloseReason;
}
SourceFile: "CloseReason.java"