Package org.jruby.javasupport.ext
Class Module
java.lang.Object
org.jruby.javasupport.ext.Module
Module Java extensions, namely java_import and include_package.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classprivate static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprivate static Module.IncludedPackagesgetIncludedPackages(ThreadContext context, RubyModule target) static IRubyObjectimport_(ThreadContext context, IRubyObject self, IRubyObject arg, Block block) static IRubyObjectinclude_package(ThreadContext context, IRubyObject self, IRubyObject pkg) static IRubyObjectjava_alias(ThreadContext context, IRubyObject self, IRubyObject new_id, IRubyObject old_id) static IRubyObjectjava_import(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block) static IRubyObjectjava_import(ThreadContext context, IRubyObject self, IRubyObject arg, Block block) private static IRubyObjectjavaImport(ThreadContext context, RubyModule target, IRubyObject klass, Block block)
-
Constructor Details
-
Module
public Module()
-
-
Method Details
-
define
-
import_
public static IRubyObject import_(ThreadContext context, IRubyObject self, IRubyObject arg, Block block) -
java_import
public static IRubyObject java_import(ThreadContext context, IRubyObject self, IRubyObject arg, Block block) -
java_import
public static IRubyObject java_import(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block) -
javaImport
private static IRubyObject javaImport(ThreadContext context, RubyModule target, IRubyObject klass, Block block) -
java_alias
public static IRubyObject java_alias(ThreadContext context, IRubyObject self, IRubyObject new_id, IRubyObject old_id) -
include_package
-
getIncludedPackages
private static Module.IncludedPackages getIncludedPackages(ThreadContext context, RubyModule target)
-