org.jruby.runtime.MethodFactory , HandleMethod
| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final Logger | |
| private static final MethodHandles. | |
| public static final Signature[] | |
| private static final SmartBinder[] | |
| public static final Signature |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Supplier | adaptHandle(final MethodHandle method, final Ruby runtime, final int actualRequired, final int required, final int optional, final boolean rest, final String rubyName, final Class<T> declaringClass, final boolean isStatic, final boolean hasContext, final boolean hasBlock, final boolean frame, final RubyModule implementationClass)
|
| private Supplier | buildAnnotatedMethodHandles(Ruby runtime, List<JavaMethodDescriptor> descs, RubyModule implementationClass)
|
| public static MethodHandle | finishAdapting(final SmartBinder binder, final RubyModule implementationClass, String rubyName, final MethodHandle method, final Class<T> declaringClass, final Ruby runtime, boolean isStatic, boolean frame)
|
| public DynamicMethod | getAnnotatedMethod(final RubyModule
The target class or module on which the method
will be bound. implementationClass, final List<JavaMethodDescriptor> descs, String name)Overrides org. Use code generation to provide a method handle based on an annotated Java method. |
| public DynamicMethod | getAnnotatedMethod(RubyModule
The target class or module on which the method
will be bound. implementationClass, JavaMethodDescriptor A JavaMethodDescriptor describing the target method desc, String name)Overrides org. Use code generation to provide a method handle based on an annotated Java method. |
| public static SmartBinder | |
| public static SmartBinder | preAdaptHandle(int specificArity, final boolean isStatic, final boolean hasContext, final boolean hasBlock)
|
| BINDERS | back to summary |
|---|---|
| private static final Map<String, SmartBinder> BINDERS | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides org. | |
| LOOKUP | back to summary |
|---|---|
| private static final MethodHandles. | |
| SPECIFIC_ARITY_SIGNATURES | back to summary |
|---|---|
| public static final Signature[] SPECIFIC_ARITY_SIGNATURES | |
| SPREAD_BINDERS | back to summary |
|---|---|
| private static final SmartBinder[] SPREAD_BINDERS | |
| VARIABLE_ARITY_SIGNATURE | back to summary |
|---|---|
| public static final Signature VARIABLE_ARITY_SIGNATURE | |
| InvokeDynamicMethodFactory | back to summary |
|---|---|
| public InvokeDynamicMethodFactory(ClassLoader classLoader) | |
| adaptHandle | back to summary |
|---|---|
| public static Supplier | |
| buildAnnotatedMethodHandles | back to summary |
|---|---|
| private Supplier | |
| finishAdapting | back to summary |
|---|---|
| public static MethodHandle finishAdapting(final SmartBinder binder, final RubyModule implementationClass, String rubyName, final MethodHandle method, final Class<T> declaringClass, final Ruby runtime, boolean isStatic, boolean frame) | |
| getAnnotatedMethod | back to summary |
|---|---|
| public DynamicMethod getAnnotatedMethod(final RubyModule implementationClass, final List<JavaMethodDescriptor> descs, String name) Overrides org. Doc from org. Use code generation to provide a method handle based on an annotated Java method.
| |
| getAnnotatedMethod | back to summary |
|---|---|
| public DynamicMethod getAnnotatedMethod(RubyModule implementationClass, JavaMethodDescriptor desc, String name) Overrides org. Use code generation to provide a method handle based on an annotated Java method.
| |
| getBinder | back to summary |
|---|---|
| public static SmartBinder getBinder(int specific, final boolean b1, final boolean b2, final boolean b3) | |
| preAdaptHandle | back to summary |
|---|---|
| public static SmartBinder preAdaptHandle(int specificArity, final boolean isStatic, final boolean hasContext, final boolean hasBlock) | |