Package | Description |
---|---|
org.jruby | |
org.jruby.internal.runtime.methods | |
org.jruby.java.proxies | |
org.jruby.runtime |
Modifier and Type | Method and Description |
---|---|
void |
RubyModule.checkMethodBound(ThreadContext context,
IRubyObject[] args,
Visibility visibility)
Deprecated.
|
void |
RubyModule.defineFastMethod(String name,
Callback method,
Visibility visibility)
Deprecated.
|
void |
RubyModule.exportMethod(String name,
Visibility visibility)
rb_export_method
|
static IRubyObject |
RubyKernel.methodMissing(ThreadContext context,
IRubyObject recv,
String name,
Visibility lastVis,
CallType lastCallType,
IRubyObject[] args,
Block block) |
protected static IRubyObject |
RubyKernel.methodMissingDirect(ThreadContext context,
IRubyObject recv,
RubySymbol symbol,
Visibility lastVis,
CallType lastCallType,
IRubyObject[] args,
Block block) |
IRubyObject |
RubyModule.newMethod(IRubyObject receiver,
String methodName,
boolean bound,
Visibility visibility) |
IRubyObject |
RubyModule.newMethod(IRubyObject receiver,
String methodName,
boolean bound,
Visibility visibility,
boolean respondToMissing) |
IRubyObject |
RubyModule.newMethod(IRubyObject receiver,
String methodName,
boolean bound,
Visibility visibility,
boolean respondToMissing,
boolean priv) |
void |
RubyModule.populateInstanceMethodNames(Set<String> seen,
RubyArray ary,
Visibility visibility,
boolean not,
boolean useSymbols,
boolean includeSuper) |
void |
RubyModule.setMethodVisibility(IRubyObject[] methods,
Visibility visibility)
set_method_visibility
|
Constructor and Description |
---|
RubyKernel.MethodMissingMethod(RubyModule implementationClass,
Visibility visibility,
CallType callType) |
RubyModule.RespondToMissingMethod(RubyModule implClass,
Visibility vis,
String methodName) |
Modifier and Type | Field and Description |
---|---|
protected Visibility |
DynamicMethod.visibility
The visibility of this method.
|
Modifier and Type | Method and Description |
---|---|
Visibility |
DynamicMethod.getVisibility()
Get the visibility of this method.
|
Visibility |
DelegatingDynamicMethod.getVisibility() |
Visibility |
CompiledMethod.LazyCompiledMethod.getVisibility() |
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
ReflectionMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use reflection to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvokeDynamicMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use JSR292 to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvocationMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use code generation to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
ReflectionMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use reflection to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvokeDynamicMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use code generation to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvocationMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use code generation to provide a method handle for a compiled Ruby method.
|
void |
JavaMethod.init(RubyModule implementationClass,
Arity arity,
Visibility visibility,
StaticScope staticScope,
CallConfiguration callConfig) |
protected void |
CompiledMethod.init(RubyModule implementationClass,
Arity arity,
Visibility visibility,
StaticScope staticScope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc) |
protected void |
DynamicMethod.init(RubyModule implementationClass,
Visibility visibility,
CallConfiguration callConfig) |
static DynamicMethod |
DynamicMethodFactory.newDefaultMethod(Ruby runtime,
RubyModule container,
String name,
StaticScope scope,
Node body,
ArgsNode argsNode,
Visibility visibility,
ISourcePosition position) |
static InterpretedMethod |
DynamicMethodFactory.newInterpretedMethod(Ruby runtime,
RubyModule container,
StaticScope scope,
Node body,
String name,
ArgsNode argsNode,
Visibility visibility,
ISourcePosition position) |
static DynamicMethod |
DynamicMethodFactory.newJittedMethod(Ruby runtime,
RubyModule container,
StaticScope scope,
Script script,
String name,
CallConfiguration config,
Visibility visibility,
Arity arity,
ISourcePosition position,
DefaultMethod defaultMethod) |
void |
UndefinedMethod.setVisibility(Visibility visibility)
Dummy implementation of setVisibility that does nothing.
|
void |
DynamicMethod.setVisibility(Visibility visibility)
Set the visibility of this method.
|
void |
DelegatingDynamicMethod.setVisibility(Visibility visibility) |
void |
DefaultMethod.setVisibility(Visibility visibility) |
void |
CompiledMethod.LazyCompiledMethod.setVisibility(Visibility visibility) |
Constructor and Description |
---|
ArrayJavaProxy.ArrayNewMethod(RubyModule implClass,
Visibility visibility,
DynamicMethod oldNew) |
Modifier and Type | Method and Description |
---|---|
Visibility |
ThreadContext.getCurrentVisibility() |
Visibility |
ThreadContext.getLastVisibility() |
Visibility |
ThreadContext.getPreviousVisibility() |
Visibility |
Frame.getVisibility()
Get the visibility at the time of this frame
|
Visibility |
Binding.getVisibility() |
static Visibility |
Visibility.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Visibility[] |
Visibility.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
Helpers.addInstanceMethod(RubyModule containingClass,
String name,
DynamicMethod method,
Visibility visibility,
ThreadContext context,
Ruby runtime) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType,
IRubyObject[] args,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType,
IRubyObject arg0,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
Binding |
ThreadContext.currentBinding(IRubyObject self,
Visibility visibility)
Return a binding representing the current call's state but with the
specified visibility and self.
|
Binding |
ThreadContext.currentBinding(IRubyObject self,
Visibility visibility,
DynamicScope scope)
Return a binding representing the current call's state but with the
specified visibility, scope, and self.
|
abstract DynamicMethod |
MethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Get a new method handle based on the target JRuby-compiled method.
|
abstract DynamicMethod |
MethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Like getCompiledMethod, but postpones any heavy lifting involved in
creating the method until first invocation.
|
protected void |
MethodBlock.post(ThreadContext context,
Binding binding,
Visibility visibility,
Frame lastFrame) |
protected void |
ContextAwareBlockBody.post(ThreadContext context,
Binding binding,
Visibility vis,
Frame lastFrame) |
protected void |
CompiledBlockLight19.post(ThreadContext context,
Binding binding,
Visibility vis,
Frame lastFrame) |
protected void |
CompiledBlockLight.post(ThreadContext context,
Binding binding,
Visibility vis,
Frame lastFrame) |
static DynamicMethod |
Helpers.selectMethodMissing(RubyClass selfClass,
Visibility visibility,
String name,
CallType callType) |
static DynamicMethod |
Helpers.selectMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType) |
static DynamicMethod |
Helpers.selectMethodMissing(ThreadContext context,
RubyClass selfClass,
Visibility visibility,
String name,
CallType callType) |
void |
ThreadContext.setCurrentVisibility(Visibility visibility) |
void |
ThreadContext.setLastCallStatusAndVisibility(CallType callType,
Visibility visibility) |
void |
ThreadContext.setLastVisibility(Visibility visibility) |
void |
Frame.setVisibility(Visibility visibility)
Change the visibility associated with this frame
|
void |
Binding.setVisibility(Visibility visibility) |
Constructor and Description |
---|
Binding(IRubyObject self,
Frame frame,
Visibility visibility,
RubyModule klass,
DynamicScope dynamicScope,
BacktraceElement backtrace) |
Copyright © 2001-2016 JRuby. All Rights Reserved.