public abstract class org.jruby.ext.zlib.ZStream extends org.jruby.RubyObject
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.ext.zlib.ZStream
super_class: org.jruby.RubyObject
{
protected boolean closed;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected abstract int internalTotalIn();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract int internalTotalOut();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract boolean internalStreamEndP();
descriptor: ()Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract void internalReset();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract boolean internalFinished();
descriptor: ()Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract long internalAdler();
descriptor: ()J
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract org.jruby.runtime.builtin.IRubyObject internalFinish(org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
block
protected abstract void internalClose();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
public void <init>(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)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
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
iconst_0
putfield org.jruby.ext.zlib.ZStream.closed:Z
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/zlib/ZStream;
0 3 1 runtime Lorg/jruby/Ruby;
0 3 2 type Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
type
public org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/zlib/ZStream;
0 1 1 unusedBlock Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
unusedBlock
public org.jruby.runtime.builtin.IRubyObject flush_next_out(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.jruby.runtime.ThreadContext.getRuntime:()Lorg/jruby/Ruby;
invokestatic org.jruby.RubyString.newEmptyString:(Lorg/jruby/Ruby;)Lorg/jruby/RubyString;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/zlib/ZStream;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
block
public org.jruby.runtime.builtin.IRubyObject total_out();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.checkClosed:()V
1: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.zlib.ZStream.internalTotalOut:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/zlib/ZStream;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject stream_end_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.internalStreamEndP:()Z
ifeq 1
aload 0
invokevirtual org.jruby.ext.zlib.ZStream.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getTrue:()Lorg/jruby/RubyBoolean;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFalse:()Lorg/jruby/RubyBoolean;
StackMap locals:
StackMap stack: org.jruby.RubyBoolean
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/zlib/ZStream;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"stream_end?"})
public org.jruby.runtime.builtin.IRubyObject data_type();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.checkClosed:()V
1: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.getRuntime:()Lorg/jruby/Ruby;
ldc "Zlib"
invokevirtual org.jruby.Ruby.getModule:(Ljava/lang/String;)Lorg/jruby/RubyModule;
ldc "UNKNOWN"
invokevirtual org.jruby.RubyModule.getConstant:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/zlib/ZStream;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"data_type"})
public org.jruby.runtime.builtin.IRubyObject closed_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.zlib.ZStream.closed:Z
ifeq 1
aload 0
invokevirtual org.jruby.ext.zlib.ZStream.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getTrue:()Lorg/jruby/RubyBoolean;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFalse:()Lorg/jruby/RubyBoolean;
StackMap locals:
StackMap stack: org.jruby.RubyBoolean
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/zlib/ZStream;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"closed?", "ended?"})
public org.jruby.runtime.builtin.IRubyObject reset();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.checkClosed:()V
1: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.internalReset:()V
2: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/zlib/ZStream;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"reset"})
public org.jruby.runtime.builtin.IRubyObject avail_out();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.getRuntime:()Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/zlib/ZStream;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"avail_out"})
public org.jruby.runtime.builtin.IRubyObject set_avail_out(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.checkClosed:()V
1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/zlib/ZStream;
0 2 1 p1 Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"avail_out="}, required = 1)
MethodParameters:
Name Flags
p1
public org.jruby.runtime.builtin.IRubyObject adler();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.checkClosed:()V
1: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.zlib.ZStream.internalAdler:()J
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/zlib/ZStream;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"adler"})
public org.jruby.runtime.builtin.IRubyObject finish(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.checkClosed:()V
1: aload 0
aload 2
invokevirtual org.jruby.ext.zlib.ZStream.internalFinish:(Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/zlib/ZStream;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 block Lorg/jruby/runtime/Block;
2 3 3 result Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"finish"})
MethodParameters:
Name Flags
context
block
public org.jruby.runtime.builtin.IRubyObject avail_in();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.getRuntime:()Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/zlib/ZStream;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"avail_in"})
public org.jruby.runtime.builtin.IRubyObject flush_next_in(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.jruby.runtime.ThreadContext.getRuntime:()Lorg/jruby/Ruby;
invokestatic org.jruby.RubyString.newEmptyString:(Lorg/jruby/Ruby;)Lorg/jruby/RubyString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/zlib/ZStream;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"flush_next_in"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject total_in();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.checkClosed:()V
1: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.ext.zlib.ZStream.internalTotalIn:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/zlib/ZStream;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"total_in"})
public org.jruby.runtime.builtin.IRubyObject finished_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.checkClosed:()V
1: aload 1
invokevirtual org.jruby.runtime.ThreadContext.getRuntime:()Lorg/jruby/Ruby;
astore 2
start local 2 2: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.internalFinished:()Z
ifeq 3
aload 2
invokevirtual org.jruby.Ruby.getTrue:()Lorg/jruby/RubyBoolean;
goto 4
StackMap locals: org.jruby.Ruby
StackMap stack:
3: aload 2
invokevirtual org.jruby.Ruby.getFalse:()Lorg/jruby/RubyBoolean;
StackMap locals:
StackMap stack: org.jruby.RubyBoolean
4: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ext/zlib/ZStream;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
2 5 2 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"finished?"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject close();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.checkClosed:()V
1: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.internalClose:()V
2: aload 0
iconst_1
putfield org.jruby.ext.zlib.ZStream.closed:Z
3: aload 0
invokevirtual org.jruby.ext.zlib.ZStream.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/zlib/ZStream;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"close", "end"})
void checkClosed();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.zlib.ZStream.closed:Z
ifeq 1
aload 0
invokevirtual org.jruby.ext.zlib.ZStream.getRuntime:()Lorg/jruby/Ruby;
ldc "stream is not ready"
invokestatic org.jruby.ext.zlib.RubyZlib.newZlibError:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
1: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/zlib/ZStream;
static void checkLevel(org.jruby.Ruby, int);
descriptor: (Lorg/jruby/Ruby;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
bipush 9
if_icmple 3
StackMap locals:
StackMap stack:
1: iload 1
iconst_m1
if_icmpeq 3
2: aload 0
ldc "stream error: invalid level"
invokestatic org.jruby.ext.zlib.RubyZlib.newStreamError:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 runtime Lorg/jruby/Ruby;
0 4 1 level I
MethodParameters:
Name Flags
runtime
level
static void checkWindowBits(org.jruby.Ruby, int, boolean);
descriptor: (Lorg/jruby/Ruby;IZ)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
invokestatic java.lang.Math.abs:(I)I
istore 1
1: iload 1
bipush 15
iand
bipush 8
if_icmpge 3
2: aload 0
ldc "stream error: invalid window bits"
invokestatic org.jruby.ext.zlib.RubyZlib.newStreamError:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals:
StackMap stack:
iload 1
bipush 15
iand
bipush 15
if_icmpeq 5
4: aload 0
invokevirtual org.jruby.Ruby.getWarnings:()Lorg/jruby/common/RubyWarnings;
ldc "windowBits < 15 is ignored on this platform"
invokevirtual org.jruby.common.RubyWarnings.warn:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
iload 2
ifeq 7
iload 1
bipush 47
if_icmple 7
6: aload 0
ldc "stream error: invalid window bits"
invokestatic org.jruby.ext.zlib.RubyZlib.newStreamError:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
7: StackMap locals:
StackMap stack:
iload 2
ifne 9
iload 1
bipush 31
if_icmple 9
8: aload 0
ldc "stream error: invalid window bits"
invokestatic org.jruby.ext.zlib.RubyZlib.newStreamError:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 runtime Lorg/jruby/Ruby;
0 10 1 wbits I
0 10 2 forInflate Z
MethodParameters:
Name Flags
runtime
wbits
forInflate
static void checkStrategy(org.jruby.Ruby, int);
descriptor: (Lorg/jruby/Ruby;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
tableswitch { // 0 - 2
0: 1
1: 1
2: 1
default: 2
}
1: StackMap locals:
StackMap stack:
goto 3
2: StackMap locals:
StackMap stack:
aload 0
ldc "stream error: invalid strategy"
invokestatic org.jruby.ext.zlib.RubyZlib.newStreamError:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 runtime Lorg/jruby/Ruby;
0 4 1 strategy I
MethodParameters:
Name Flags
runtime
strategy
}
SourceFile: "ZStream.java"
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"Zlib::ZStream"})