public static enum MethodRebaseResolver.Disabled extends java.lang.Enum<MethodRebaseResolver.Disabled> implements MethodRebaseResolver
MethodRebaseResolver.Default, MethodRebaseResolver.Disabled, MethodRebaseResolver.Resolution
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<MethodDescription.SignatureToken,MethodRebaseResolver.Resolution> |
asTokenMap()
Returns a map of all rebasable methods' signature tokens to their resolution.
|
java.util.List<DynamicType> |
getAuxiliaryTypes()
Returns a (potentially empty) list of auxiliary types that are required by this method rebase resolver.
|
MethodRebaseResolver.Resolution |
resolve(MethodDescription.InDefinedShape methodDescription)
Checks if a method is eligible for rebasing and resolves this possibly rebased method.
|
static MethodRebaseResolver.Disabled |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MethodRebaseResolver.Disabled[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodRebaseResolver.Disabled INSTANCE
public static MethodRebaseResolver.Disabled[] values()
for (MethodRebaseResolver.Disabled c : MethodRebaseResolver.Disabled.values()) System.out.println(c);
public static MethodRebaseResolver.Disabled valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic MethodRebaseResolver.Resolution resolve(MethodDescription.InDefinedShape methodDescription)
resolve
in interface MethodRebaseResolver
methodDescription
- A description of the method to resolve.public java.util.List<DynamicType> getAuxiliaryTypes()
getAuxiliaryTypes
in interface MethodRebaseResolver
public java.util.Map<MethodDescription.SignatureToken,MethodRebaseResolver.Resolution> asTokenMap()
asTokenMap
in interface MethodRebaseResolver