public interface MethodRebaseResolver
Modifier and Type | Interface and Description |
---|---|
static class |
MethodRebaseResolver.Default
A default implementation of a
MethodRebaseResolver which
renames rebased methods and adds an additional constructor placeholder parameter to constructors. |
static interface |
MethodRebaseResolver.MethodNameTransformer
A method name transformer provides a unique mapping of a method's name to an alternative name.
|
static class |
MethodRebaseResolver.NoOp
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 | Field and Description |
---|---|
static int |
REBASED_METHOD_MODIFIER
The modifier that is used for rebased methods.
|
Modifier and Type | Method and Description |
---|---|
MethodRebaseResolver.Resolution |
resolve(MethodDescription methodDescription)
Checks if a method is eligible for rebasing and resolves this possibly rebased method.
|
static final int REBASED_METHOD_MODIFIER
MethodRebaseResolver.Resolution resolve(MethodDescription methodDescription)
methodDescription
- A description of the method to resolve.Copyright © 2014–2015. All rights reserved.