public final class org.jruby.javasupport.ext.Kernel
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jruby.javasupport.ext.Kernel
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/javasupport/ext/Kernel;
public static void define(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.Ruby.getKernel:()Lorg/jruby/RubyModule;
astore 1
start local 1 1: aload 1
ldc "java"
new org.jruby.javasupport.ext.Kernel$JavaPackageMethod
dup
aload 1
ldc "java"
invokespecial org.jruby.javasupport.ext.Kernel$JavaPackageMethod.<init>:(Lorg/jruby/RubyModule;Ljava/lang/String;)V
invokevirtual org.jruby.RubyModule.addMethodInternal:(Ljava/lang/String;Lorg/jruby/internal/runtime/methods/DynamicMethod;)V
2: aload 1
ldc "javax"
new org.jruby.javasupport.ext.Kernel$JavaPackageMethod
dup
aload 1
ldc "javax"
invokespecial org.jruby.javasupport.ext.Kernel$JavaPackageMethod.<init>:(Lorg/jruby/RubyModule;Ljava/lang/String;)V
invokevirtual org.jruby.RubyModule.addMethodInternal:(Ljava/lang/String;Lorg/jruby/internal/runtime/methods/DynamicMethod;)V
3: aload 1
ldc "javafx"
new org.jruby.javasupport.ext.Kernel$JavaPackageMethod
dup
aload 1
ldc "javafx"
invokespecial org.jruby.javasupport.ext.Kernel$JavaPackageMethod.<init>:(Lorg/jruby/RubyModule;Ljava/lang/String;)V
invokevirtual org.jruby.RubyModule.addMethodInternal:(Ljava/lang/String;Lorg/jruby/internal/runtime/methods/DynamicMethod;)V
4: aload 1
ldc "com"
new org.jruby.javasupport.ext.Kernel$JavaPackageMethod
dup
aload 1
ldc "com"
invokespecial org.jruby.javasupport.ext.Kernel$JavaPackageMethod.<init>:(Lorg/jruby/RubyModule;Ljava/lang/String;)V
invokevirtual org.jruby.RubyModule.addMethodInternal:(Ljava/lang/String;Lorg/jruby/internal/runtime/methods/DynamicMethod;)V
5: aload 1
ldc "org"
new org.jruby.javasupport.ext.Kernel$JavaPackageMethod
dup
aload 1
ldc "org"
invokespecial org.jruby.javasupport.ext.Kernel$JavaPackageMethod.<init>:(Lorg/jruby/RubyModule;Ljava/lang/String;)V
invokevirtual org.jruby.RubyModule.addMethodInternal:(Ljava/lang/String;Lorg/jruby/internal/runtime/methods/DynamicMethod;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 runtime Lorg/jruby/Ruby;
1 7 1 Kernel Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
runtime final
private static org.jruby.runtime.builtin.IRubyObject get_pkg(org.jruby.runtime.ThreadContext, java.lang.String);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.javasupport.Java.getJavaPackageModule:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyModule;
astore 2
start local 2 1: aload 2
ifnonnull 2
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
goto 3
StackMap locals: org.jruby.RubyModule
StackMap stack:
2: aload 2
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 name Ljava/lang/String;
1 4 2 module Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
context final
name final
}
SourceFile: "Kernel.java"
NestMembers:
org.jruby.javasupport.ext.Kernel$JavaPackageMethod
InnerClasses:
private final JavaPackageMethod = org.jruby.javasupport.ext.Kernel$JavaPackageMethod of org.jruby.javasupport.ext.Kernel