| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final RubyHash. | |
| private static final String | |
| private static final String | |
| pack-priv Object |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected JavaObject | |
| private static void | checkArgSizeMismatch(final Ruby runtime, final int expected, final RubyArray<T extends IRubyObject> argTypes)
|
| public void | |
| protected Object | |
| private void | |
| public static RubyClass | |
| public final Object | dataGetStruct()
Overrides org. Implements org. Our version of Data_Get_Struct. |
| public final void | dataWrapStruct(Object
the object to wrap object)Overrides org. Implements org. Our version of Data_Wrap_Struct. |
| public IRubyObject | equal_p(ThreadContext
the thread context context, IRubyObject to compare with other)Overrides org. rb_obj_equal Will use Java identity equality. |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| private static void | findFields(final ThreadContext context, final RubyModule topModule, final IRubyObject[] args, final boolean asReader, final boolean asWriter)
|
| private static Map | getFieldListFromArgs(ThreadContext context, IRubyObject[] args)
Create a name/newname map of fields to be exposed as methods. |
| public static IRubyObject | Returns: a java.lang.Class instance proxy (e.g. a java.lang.Integer.class wrapper)(Java) proxy module/class target)
|
| public Class | getJavaClass()
Overrides org. Implements org. Will return the Java interface that most closely can represent this object, when working through Java integration translations. |
| private Method | |
| private MethodInvoker | |
| public final Object | |
| private RubyMethod | |
| public Object | getVariable(int index)
Overrides org. Implements org.
|
| public static IRubyObject | |
| public IRubyObject | initialize_copy(ThreadContext
the thread context context, IRubyObject the original original)Overrides org. Initializes this object as a copy of the original, that is the parameter to this object. |
| protected int | Returns: The identity hashcode of the wrapped objectOverrides org. We override RubyBasicObject.inspectHashCode to be the identity hash of the contained object, so it remains consistent across wrappers. |
| private static void | installField(final ThreadContext context, final Map<String, String> fieldMap, final Field field, final RubyModule module, boolean asReader, boolean asWriter)
|
| private static void | installField(final ThreadContext context, final String asName, final Field field, final RubyModule target, boolean asReader, Boolean asWriter)
|
| public static void | installField(final ThreadContext context, final String asName, final Field field, final RubyModule target)
|
| public static IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static void | |
| public static void | |
| public static void | |
| pack-priv static void | |
| private static void | |
| public void | |
| public void | setVariable(int index, Object value)
Overrides org. Implements org.
|
| public static RubyClass | |
| public static RubyClass | |
| public RubyClass | singletonClass(ThreadContext
the current thread context context)Overrides org. Overrides default org. rb_singleton_class Note: this method is specialized for RubyFixnum, RubySymbol, RubyNil and RubyBoolean Will either return the existing singleton class for this object, or create a new one and return that. |
| public <T> T | toJava(Class<T>
The target type to which the object should be converted. type)Overrides org. Implements org. Convert the object to the specified Java class, if possible. |
| private static RaiseException | |
| public Object | |
| public static IRubyObject |