public interface MethodRebaseResolver
Modifier and Type | Interface and Description |
---|---|
static class |
MethodRebaseResolver.Default
A default implementation of a method rebase resolver.
|
static class |
MethodRebaseResolver.Disabled
A method rebase resolver that preserves any method in its original form.
|
static interface |
MethodRebaseResolver.Resolution
A resolution for a method that was checked by a
MethodRebaseResolver . |
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.
|
MethodRebaseResolver.Resolution resolve(MethodDescription.InDefinedShape methodDescription)
methodDescription
- A description of the method to resolve.List<DynamicType> getAuxiliaryTypes()
Map<MethodDescription.SignatureToken,MethodRebaseResolver.Resolution> asTokenMap()
Copyright © 2014–2016. All rights reserved.