Note: previously JavaPackageModuleTemplate in Ruby code
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | JavaPackage.
This special module wrapper is used by the Java "package modules" in order to simulate a blank slate. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | |
| pack-priv static CharSequence | |
| private RubyBoolean | checkMetaClassBoundMethod(final ThreadContext context, final String name, final boolean includePrivate)
|
| public final IRubyObject | const_get(final ThreadContext context, final IRubyObject name)
Overrides org.
|
| public final IRubyObject | const_get(final ThreadContext context, final IRubyObject name, final IRubyObject inherit)
Overrides org.
|
| public IRubyObject | |
| pack-priv static RubyClass | createJavaPackageClass(ThreadContext context, final RubyModule Java, RubyClass Module, RubyModule Kernel)
|
| public final IRubyObject | fetchConstant(ThreadContext context, String name, boolean includePrivate)
Overrides org.
|
| private Package | |
| public String | |
| public final boolean | |
| public IRubyObject | inspect(ThreadContext context)
Overrides org. Overrides default org. Returns a string containing a human-readable representation of obj. |
| public final boolean | |
| public IRubyObject | |
| public IRubyObject | |
| pack-priv static RubyModule | |
| public RubyBoolean | op_eqq(ThreadContext context, IRubyObject obj)
Overrides org. Implements org. rb_mod_eqq |
| public RubyString | |
| public RubyString | |
| pack-priv static RaiseException | packageMethodArgumentMismatch(ThreadContext context, final RubyModule pkg, final String method, final int argsLength)
|
| pack-priv final CharSequence | |
| private RubyModule | relativeJavaClassOrPackage(final ThreadContext context, final IRubyObject name, final boolean cacheMethod)
|
| pack-priv RubyModule | |
| private IRubyObject | |
| private RubyBoolean | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public RubyString | |
| public IRubyObject | |
| public <T> T | toJava(Class<T>
The target type to which the object should be converted. target)Overrides org. Implements org. Convert the object to the specified Java class, if possible. |