public static enum MethodRebaseResolver.Disabled extends 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 |
---|---|
Map<MethodDescription.SignatureToken,MethodRebaseResolver.Resolution> |
asTokenMap()
Returns a map of all rebasable methods' signature tokens to their resolution.
|
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(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(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 MethodRebaseResolver.Resolution resolve(MethodDescription.InDefinedShape methodDescription)
resolve
in interface MethodRebaseResolver
methodDescription
- A description of the method to resolve.public List<DynamicType> getAuxiliaryTypes()
getAuxiliaryTypes
in interface MethodRebaseResolver
public Map<MethodDescription.SignatureToken,MethodRebaseResolver.Resolution> asTokenMap()
asTokenMap
in interface MethodRebaseResolver
Copyright © 2014–2020. All rights reserved.