public enum CallConfiguration extends Enum<CallConfiguration>
Enum Constant and Description |
---|
FrameBacktraceScopeDummy |
FrameBacktraceScopeFull |
FrameBacktraceScopeNone |
FrameFullScopeDummy |
FrameFullScopeFull |
FrameFullScopeNone |
FrameNoneScopeDummy |
FrameNoneScopeFull |
FrameNoneScopeNone |
Modifier and Type | Field and Description |
---|---|
static CallConfiguration |
BACKTRACE_AND_SCOPE
Deprecated.
|
static CallConfiguration |
BACKTRACE_DUMMY_SCOPE
Deprecated.
|
static CallConfiguration |
BACKTRACE_ONLY
Deprecated.
|
static CallConfiguration |
FRAME_AND_DUMMY_SCOPE
Deprecated.
|
static CallConfiguration |
FRAME_AND_SCOPE
Deprecated.
|
static CallConfiguration |
FRAME_ONLY
Deprecated.
|
static CallConfiguration |
NO_FRAME_DUMMY_SCOPE
Deprecated.
|
static CallConfiguration |
NO_FRAME_NO_SCOPE
Deprecated.
|
static CallConfiguration |
SCOPE_ONLY
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Framing |
framing() |
static CallConfiguration |
getCallConfig(boolean frame,
boolean scope)
Given a frame and scope requirement, return the name of the appropriate CallConfiguration.
|
static CallConfiguration |
getCallConfig(boolean frame,
boolean scope,
boolean backtrace)
Deprecated.
|
static CallConfiguration |
getCallConfigByAnno(JRubyMethod anno)
Produce a CallConfiguration name that represents what must be prepared around calls to
the method with this annotation.
|
static CallConfiguration |
getCallerCallConfigByAnno(JRubyMethod jrubyMethod)
Produce a CallConfiguration that represents what *caller* methods must prepare for
the method with this annotation.
|
Scoping |
scoping() |
static CallConfiguration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallConfiguration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallConfiguration FrameFullScopeFull
public static final CallConfiguration FrameFullScopeDummy
public static final CallConfiguration FrameFullScopeNone
public static final CallConfiguration FrameBacktraceScopeFull
public static final CallConfiguration FrameBacktraceScopeDummy
public static final CallConfiguration FrameBacktraceScopeNone
public static final CallConfiguration FrameNoneScopeFull
public static final CallConfiguration FrameNoneScopeDummy
public static final CallConfiguration FrameNoneScopeNone
@Deprecated public static final CallConfiguration FRAME_AND_SCOPE
@Deprecated public static final CallConfiguration FRAME_AND_DUMMY_SCOPE
@Deprecated public static final CallConfiguration FRAME_ONLY
@Deprecated public static final CallConfiguration BACKTRACE_AND_SCOPE
@Deprecated public static final CallConfiguration BACKTRACE_DUMMY_SCOPE
@Deprecated public static final CallConfiguration BACKTRACE_ONLY
@Deprecated public static final CallConfiguration SCOPE_ONLY
@Deprecated public static final CallConfiguration NO_FRAME_DUMMY_SCOPE
@Deprecated public static final CallConfiguration NO_FRAME_NO_SCOPE
public static CallConfiguration[] values()
for (CallConfiguration c : CallConfiguration.values()) System.out.println(c);
public static CallConfiguration valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CallConfiguration getCallerCallConfigByAnno(JRubyMethod jrubyMethod)
public static CallConfiguration getCallConfigByAnno(JRubyMethod anno)
public static CallConfiguration getCallConfig(boolean frame, boolean scope)
public final Framing framing()
public final Scoping scoping()
@Deprecated public static CallConfiguration getCallConfig(boolean frame, boolean scope, boolean backtrace)
Copyright © 2001-2015 JRuby. All Rights Reserved.