Top Fields Constructors Methods
org.jruby.internal.runtime.methods

public sealed Enum CallConfiguration

extends Enum<CallConfiguration>
Class Inheritance
Imports
org.jruby.RubyModule, org.jruby.anno.FrameField, .JRubyMethod, org.jruby.parser.StaticScope, org.jruby.runtime.Block, .ThreadContext, org.jruby.runtime.builtin.IRubyObject

Field Summary

Modifier and TypeField and Description
public static final CallConfiguration
public static final CallConfiguration
public static final CallConfiguration
BACKTRACE_ONLY

Deprecated
public static final CallConfiguration
public static final CallConfiguration
FRAME_AND_SCOPE

Deprecated
public static final CallConfiguration
FRAME_ONLY

Deprecated
public static final CallConfiguration
public static final CallConfiguration
public static final CallConfiguration
public static final CallConfiguration
public static final CallConfiguration
public static final CallConfiguration
public static final CallConfiguration
public static final CallConfiguration
public static final CallConfiguration
private final Framing
public static final CallConfiguration
public static final CallConfiguration
NO_FRAME_NO_SCOPE

Deprecated
public static final CallConfiguration
SCOPE_ONLY

Deprecated
private final Scoping

Constructor Summary

AccessConstructor and Description
private
CallConfiguration(Framing framing, Scoping scoping)

Method Summary

Modifier and TypeMethod and Description
public final Framing
public static CallConfiguration
getCallConfig(boolean frame)

Given a frame and scope requirement, return the name of the appropriate CallConfiguration.

public static CallConfiguration
getCallConfig(boolean frame, boolean scope, boolean backtrace)
Deprecated

public static CallConfiguration
getCallConfig(boolean frame, boolean scope)
Deprecated

Given a frame and scope requirement, return the name of the appropriate CallConfiguration.

public static CallConfiguration
getCallConfigByAnno(JRubyMethod anno)

Produce a CallConfiguration name that represents what must be prepared around calls to the method with this annotation.

public static CallConfiguration
getCallerCallConfigByAnno(JRubyMethod jrubyMethod)

Produce a CallConfiguration that represents what *caller* methods must prepare for the method with this annotation.

pack-priv boolean
pack-priv abstract void
pack-priv abstract void
pre(ThreadContext context, IRubyObject self, RubyModule implementer, String name, Block block, StaticScope scope)

public final Scoping
public static CallConfiguration
public static CallConfiguration[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

BACKTRACE_AND_SCOPEback to summary
public static final CallConfiguration BACKTRACE_AND_SCOPE

Deprecated

Annotations
@Deprecated
BACKTRACE_DUMMY_SCOPEback to summary
public static final CallConfiguration BACKTRACE_DUMMY_SCOPE

Deprecated

Annotations
@Deprecated
BACKTRACE_ONLYback to summary
public static final CallConfiguration BACKTRACE_ONLY

Deprecated

Annotations
@Deprecated
FRAME_AND_DUMMY_SCOPEback to summary
public static final CallConfiguration FRAME_AND_DUMMY_SCOPE

Deprecated

Annotations
@Deprecated
FRAME_AND_SCOPEback to summary
public static final CallConfiguration FRAME_AND_SCOPE

Deprecated

Annotations
@Deprecated
FRAME_ONLYback to summary
public static final CallConfiguration FRAME_ONLY

Deprecated

Annotations
@Deprecated
FrameBacktraceScopeDummyback to summary
public static final CallConfiguration FrameBacktraceScopeDummy
FrameBacktraceScopeFullback to summary
public static final CallConfiguration FrameBacktraceScopeFull
FrameBacktraceScopeNoneback to summary
public static final CallConfiguration FrameBacktraceScopeNone
FrameFullScopeDummyback to summary
public static final CallConfiguration FrameFullScopeDummy
FrameFullScopeFullback to summary
public static final CallConfiguration FrameFullScopeFull
FrameFullScopeNoneback to summary
public static final CallConfiguration FrameFullScopeNone
FrameNoneScopeDummyback to summary
public static final CallConfiguration FrameNoneScopeDummy
FrameNoneScopeFullback to summary
public static final CallConfiguration FrameNoneScopeFull
FrameNoneScopeNoneback to summary
public static final CallConfiguration FrameNoneScopeNone
framingback to summary
private final Framing framing
NO_FRAME_DUMMY_SCOPEback to summary
public static final CallConfiguration NO_FRAME_DUMMY_SCOPE

Deprecated

Annotations
@Deprecated
NO_FRAME_NO_SCOPEback to summary
public static final CallConfiguration NO_FRAME_NO_SCOPE

Deprecated

Annotations
@Deprecated
SCOPE_ONLYback to summary
public static final CallConfiguration SCOPE_ONLY

Deprecated

Annotations
@Deprecated
scopingback to summary
private final Scoping scoping

Constructor Detail

CallConfigurationback to summary
private CallConfiguration(Framing framing, Scoping scoping)

Method Detail

framingback to summary
public final Framing framing()
getCallConfigback to summary
public static CallConfiguration getCallConfig(boolean frame)

Given a frame and scope requirement, return the name of the appropriate CallConfiguration.

See Also
org.jruby.anno.AnnotationHelper#getCallConfigName(boolean, boolean)
getCallConfigback to summary
public static CallConfiguration getCallConfig(boolean frame, boolean scope, boolean backtrace)

Deprecated

Annotations
@Deprecated
getCallConfigback to summary
public static CallConfiguration getCallConfig(boolean frame, boolean scope)

Deprecated

Given a frame and scope requirement, return the name of the appropriate CallConfiguration.

Annotations
@Deprecated
See Also
org.jruby.anno.AnnotationHelper#getCallConfigName(boolean, boolean)
getCallConfigByAnnoback to summary
public static CallConfiguration getCallConfigByAnno(JRubyMethod anno)

Produce a CallConfiguration name that represents what must be prepared around calls to the method with this annotation.

getCallerCallConfigByAnnoback to summary
public static CallConfiguration getCallerCallConfigByAnno(JRubyMethod jrubyMethod)

Produce a CallConfiguration that represents what *caller* methods must prepare for the method with this annotation.

See Also
org.jruby.anno.AnnotationHelper#getCallerCallConfigNameByAnno(org.jruby.anno.JRubyMethod)
isNoopback to summary
pack-priv boolean isNoop()
postback to summary
pack-priv abstract void post(ThreadContext context)
preback to summary
pack-priv abstract void pre(ThreadContext context, IRubyObject self, RubyModule implementer, String name, Block block, StaticScope scope)
scopingback to summary
public final Scoping scoping()
valueOfback to summary
public static CallConfiguration valueOf(String name)
valuesback to summary
public static CallConfiguration[] values()