public class org.jruby.ext.digest.RubyDigest$DigestClass extends org.jruby.RubyObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ext.digest.RubyDigest$DigestClass
super_class: org.jruby.RubyObject
{
protected static final org.jruby.runtime.ObjectAllocator DIGEST_CLASS_ALLOCATOR;
descriptor: Lorg/jruby/runtime/ObjectAllocator;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.jruby.ext.digest.RubyDigest$DigestClass$1
dup
invokespecial org.jruby.ext.digest.RubyDigest$DigestClass$1.<init>:()V
putstatic org.jruby.ext.digest.RubyDigest$DigestClass.DIGEST_CLASS_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
1: return
LocalVariableTable:
Start End Slot Name Signature
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: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/digest/RubyDigest$DigestClass;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 type Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
type
public static org.jruby.runtime.builtin.IRubyObject s_digest(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 1: aload 2
arraylength
iconst_1
if_icmpge 3
2: aload 4
ldc "no data given"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 2
iconst_0
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
astore 5
start local 5 4: aload 2
iconst_1
aload 2
arraylength
iconst_1
isub
invokestatic org.jruby.util.ArraySupport.newCopy:([Lorg/jruby/runtime/builtin/IRubyObject;II)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
5: aload 1
checkcast org.jruby.RubyClass
aload 0
aload 2
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.RubyClass.newInstance:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
start local 6 6: aload 6
aload 0
ldc "digest"
aload 5
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 7 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 7 3 unusedBlock Lorg/jruby/runtime/Block;
1 7 4 runtime Lorg/jruby/Ruby;
4 7 5 str Lorg/jruby/RubyString;
6 7 6 obj Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"digest"}, required = 1, rest = true, meta = true)
MethodParameters:
Name Flags
context
recv
args
unusedBlock
public static org.jruby.runtime.builtin.IRubyObject s_hexdigest(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
astore 4
start local 4 1: aload 1
aload 0
ldc "digest"
aload 2
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getBytes:()[B
astore 5
start local 5 2: aload 4
aload 5
invokestatic org.jruby.ext.digest.RubyDigest.toHexString:(Lorg/jruby/Ruby;[B)Lorg/jruby/RubyString;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 3 3 unusedBlock Lorg/jruby/runtime/Block;
1 3 4 runtime Lorg/jruby/Ruby;
2 3 5 digest [B
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"hexdigest"}, required = 1, optional = 1, meta = true)
MethodParameters:
Name Flags
context
recv
args
unusedBlock
public static org.jruby.RubyString bubblebabble(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
ldc "digest"
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getBytes:()[B
astore 2
start local 2 1: aload 0
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
aload 2
iconst_0
aload 2
arraylength
invokestatic org.jruby.ext.digest.BubbleBabble.bubblebabble:([BII)Lorg/jruby/util/ByteList;
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 2 1 arg Lorg/jruby/runtime/builtin/IRubyObject;
1 2 2 digest [B
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"bubblebabble"}, required = 1, meta = true)
MethodParameters:
Name Flags
recv
arg
}
SourceFile: "RubyDigest.java"
NestHost: org.jruby.ext.digest.RubyDigest
InnerClasses:
public DigestClass = org.jruby.ext.digest.RubyDigest$DigestClass of org.jruby.ext.digest.RubyDigest
org.jruby.ext.digest.RubyDigest$DigestClass$1
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"Digest::Class"})