class org.xnio.Buffers$3 implements org.xnio.Pooled<B>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.xnio.Buffers$3
super_class: java.lang.Object
{
private volatile B buf;
descriptor: Ljava/nio/Buffer;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: TB;
private final java.nio.Buffer val$buffer;
descriptor: Ljava/nio/Buffer;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.nio.Buffer);
descriptor: (Ljava/nio/Buffer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.xnio.Buffers$3.val$buffer:Ljava/nio/Buffer;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.xnio.Buffers$3.buf:Ljava/nio/Buffer;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/xnio/Buffers$3;
MethodParameters:
Name Flags
val$buffer final
public void discard();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.xnio.Buffers$3.buf:Ljava/nio/Buffer;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/xnio/Buffers$3;
public void free();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.xnio.Buffers$3.buf:Ljava/nio/Buffer;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/xnio/Buffers$3;
public B getResource();
descriptor: ()Ljava/nio/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.xnio.Buffers$3.buf:Ljava/nio/Buffer;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
3: StackMap locals: java.nio.Buffer
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/xnio/Buffers$3;
1 4 1 buffer TB;
Exceptions:
throws java.lang.IllegalStateException
Signature: ()TB;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.xnio.Buffers$3.free:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/xnio/Buffers$3;
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
ldc "Pooled wrapper around "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.xnio.Buffers$3.val$buffer:Ljava/nio/Buffer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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/xnio/Buffers$3;
public java.lang.Object getResource();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.xnio.Buffers$3.getResource:()Ljava/nio/Buffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.IllegalStateException
}
Signature: Ljava/lang/Object;Lorg/xnio/Pooled<TB;>;
SourceFile: "Buffers.java"
EnclosingMethod: org.xnio.Buffers.pooledWrapper:(Ljava/nio/Buffer;)Lorg/xnio/Pooled;
NestHost: org.xnio.Buffers
InnerClasses:
org.xnio.Buffers$3