| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private Map | |
| private static final String | |
| private static final boolean | |
| public static final ClassValue | |
| private static final Method[] | |
| private static final ClassValue | |
| private static final ClassValue | |
| private static final Map | |
| private Map | |
| private final Map | |
| private static final ClassValue | |
| private static final ClassValue | |
| private static final String | |
| private static final ClassValue | |
| pack-priv final Ruby | |
| private static final Map | |
| private static final Map | |
| private Map | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| protected static void | |
| private static void | |
| private void | |
| private void | |
| public static void | |
| protected static String | |
| pack-priv Map | |
| pack-priv Map | |
| pack-priv static Map | |
| pack-priv Map | |
| pack-priv Map | |
| pack-priv void | |
| protected void | |
| protected void | |
| pack-priv void | |
| protected void | |
| pack-priv void | |
| private boolean | |
| private static boolean | |
| private static Map | |
| protected void | |
| protected void | prepareMethod(Class<?> javaClass, Method method, String name, Map<String, NamedInstaller> installers, Map<String, AssignedName> reservedNames, Map<String, AssignedName> names, Function<String, NamedInstaller> constructor)
|
| protected void | |
| private static boolean | |
| pack-priv void | |
| pack-priv void | |
| protected void | |
| private void | setupSingletonMethods(Map<String, NamedInstaller> methodCallbacks, Class<?> javaClass, Object singleton, Method method, String name)
|
| ACC_BRIDGE | back to summary |
|---|---|
| private static final int ACC_BRIDGE | |
| constantFields | back to summary |
|---|---|
| private Map<String, ConstantField> constantFields | |
| CONSTRUCTOR_NAME | back to summary |
|---|---|
| private static final String CONSTRUCTOR_NAME | |
| DEBUG_SCALA | back to summary |
|---|---|
| private static final boolean DEBUG_SCALA | |
| DECLARED_METHODS | back to summary |
|---|---|
| public static final ClassValue<Method[]> DECLARED_METHODS | |
| EMPTY_METHODS | back to summary |
|---|---|
| private static final Method[] EMPTY_METHODS | |
| FILTERED_DECLARED_METHODS | back to summary |
|---|---|
| private static final ClassValue<MethodGatherer. | |
| FILTERED_METHODS | back to summary |
|---|---|
| private static final ClassValue<MethodGatherer. | |
| INSTANCE_RESERVED_NAMES | back to summary |
|---|---|
| private static final Map<String, AssignedName> INSTANCE_RESERVED_NAMES | |
| instanceInstallers | back to summary |
|---|---|
| private Map<String, NamedInstaller> instanceInstallers | |
| instanceNames | back to summary |
|---|---|
| private final Map<String, AssignedName> instanceNames | |
| INTERFACES | back to summary |
|---|---|
| private static final ClassValue<Class<?>[]> INTERFACES | |
| IS_SCALA | back to summary |
|---|---|
| private static final ClassValue<Boolean> IS_SCALA | |
| METHOD_MANGLE | back to summary |
|---|---|
| private static final String METHOD_MANGLE | |
| METHODS | back to summary |
|---|---|
| private static final ClassValue<Method[]> METHODS | |
| runtime | back to summary |
|---|---|
| pack-priv final Ruby runtime | |
| SCALA_OPERATORS | back to summary |
|---|---|
| private static final Map<String, String> SCALA_OPERATORS | |
| STATIC_RESERVED_NAMES | back to summary |
|---|---|
| private static final Map<String, AssignedName> STATIC_RESERVED_NAMES | |
| staticInstallers | back to summary |
|---|---|
| private Map<String, NamedInstaller> staticInstallers | |
| staticNames | back to summary |
|---|---|
| private final Map<String, AssignedName> staticNames | |
| MethodGatherer | back to summary |
|---|---|
| pack-priv MethodGatherer(final Ruby runtime, final Class<T> superClass) | |
| addConstantField | back to summary |
|---|---|
| private void addConstantField(Field field) | |
| addField | back to summary |
|---|---|
| protected static void addField(final Map<K, V> callbacks, final Map<String, AssignedName> names, final Field field, final boolean isFinal, final boolean isStatic) | |
| addNewMethods | back to summary |
|---|---|
| private static void addNewMethods(final HashMap<String, List<Method>> nameMethods, final Method[] methods, final boolean removeDuplicate) | |
| assignInstanceAliases | back to summary |
|---|---|
| private void assignInstanceAliases() | |
| assignStaticAliases | back to summary |
|---|---|
| private void assignStaticAliases() | |
| eachAccessibleMethod | back to summary |
|---|---|
| public static void eachAccessibleMethod(final Class<?> javaClass, Predicate<Method[]> classProcessor, Predicate<Method[]> interfaceProcessor) | |
| fixScalaNames | back to summary |
|---|---|
| protected static String fixScalaNames(final String name) | |
| getInstanceInstallers | back to summary |
|---|---|
| pack-priv Map | |
| getInstanceInstallersForWrite | back to summary |
|---|---|
| pack-priv Map | |
| getMethods | back to summary |
|---|---|
| pack-priv static Map | |
| getStaticInstallers | back to summary |
|---|---|
| pack-priv Map | |
| getStaticInstallersForWrite | back to summary |
|---|---|
| pack-priv Map | |
| initialize | back to summary |
|---|---|
| pack-priv void initialize(ThreadContext context, Class<?> javaClass, RubyModule proxy) | |
| installClassMethods | back to summary |
|---|---|
| protected void installClassMethods(ThreadContext context, final RubyModule proxy) | |
| installConstants | back to summary |
|---|---|
| protected void installConstants(ThreadContext context, final RubyModule proxy) | |
| installConstructors | back to summary |
|---|---|
| pack-priv void installConstructors(ThreadContext context, Class<?> javaClass, final RubyModule proxy) | |
| installInnerClasses | back to summary |
|---|---|
protected void installInnerClasses(ThreadContext context, final Class<?> javaClass, final RubyModule proxy)
| |
| installInstanceMethods | back to summary |
|---|---|
| pack-priv void installInstanceMethods(ThreadContext context, final RubyModule proxy) | |
| lowerPriority | back to summary |
|---|---|
| private boolean lowerPriority(String name, Map<String, NamedInstaller> installers, Map<String, AssignedName> names) | |
| methodsAreEquivalent | back to summary |
|---|---|
| private static boolean methodsAreEquivalent(Method child, Method parent) | |
| newReservedNamesMap | back to summary |
|---|---|
| private static Map | |
| prepareInstanceMethod | back to summary |
|---|---|
| protected void prepareInstanceMethod(Class<?> javaClass, Method method, String name) | |
| prepareMethod | back to summary |
|---|---|
| protected void prepareMethod(Class<?> javaClass, Method method, String name, Map<String, NamedInstaller> installers, Map<String, AssignedName> reservedNames, Map<String, AssignedName> names, Function<String, NamedInstaller> constructor) | |
| prepareStaticMethod | back to summary |
|---|---|
| protected void prepareStaticMethod(Class<?> javaClass, Method method, String name) | |
| sameTypesAndAccessModifier | back to summary |
|---|---|
| private static boolean sameTypesAndAccessModifier(Method child, Method parent) | |
| setupFieldsAndConstants | back to summary |
|---|---|
pack-priv void setupFieldsAndConstants(Class<?> javaClass)
| |
| setupMethods | back to summary |
|---|---|
| pack-priv void setupMethods(Class<?> javaClass) | |
| setupScalaSingleton | back to summary |
|---|---|
| protected void setupScalaSingleton(final Class<?> javaClass) | |
| setupSingletonMethods | back to summary |
|---|---|
| private void setupSingletonMethods(Map<String, NamedInstaller> methodCallbacks, Class<?> javaClass, Object singleton, Method method, String name) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | call(ThreadContext
The thread context for the currently executing thread context, IRubyObject The 'self' or 'receiver' object to use for this call self, RubyModule The Ruby class against which this method is binding clazz, String The incoming name used to invoke this method name, IRubyObject[] The argument list to this invocation args, Block The block passed to this invocation block)Implements abstract org. The minimum 'call' method required for a dynamic method handle. |
| NoConstructorMethod | back to summary |
|---|---|
| pack-priv NoConstructorMethod(RubyModule proxy, String name) | |
| call | back to summary |
|---|---|
| public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject[] args, Block block) Implements abstract org. Doc from org. The minimum 'call' method required for a dynamic method handle. Subclasses must implement this method, but may implement the other signatures to provide faster, non-boxing call paths. Typically subclasses will implement this method to check variable arity calls, then performing a specific-arity invocation to the appropriate method or performing variable-arity logic in-line.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Method[] | |
| pack-priv final Method[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean |
| instanceMethods | back to summary |
|---|---|
| pack-priv final Method[] instanceMethods | |
| staticMethods | back to summary |
|---|---|
| pack-priv final Method[] staticMethods | |
| PartitionedMethods | back to summary |
|---|---|
| pack-priv PartitionedMethods(Method[] methods) | |
| filterAccessible | back to summary |
|---|---|
| private static boolean filterAccessible(Method method, int mod) | |