@HashCodeAndEqualsPlugin.Enhance public static class MethodRebaseResolver.Resolution.Preserved extends Object implements MethodRebaseResolver.Resolution
MethodRebaseResolver.Resolution of a non-rebased method.MethodRebaseResolver.Resolution.ForRebasedConstructor, MethodRebaseResolver.Resolution.ForRebasedMethod, MethodRebaseResolver.Resolution.Preserved| Constructor and Description |
|---|
Preserved(MethodDescription.InDefinedShape methodDescription)
Creates a new
MethodRebaseResolver.Resolution for
a non-rebased method. |
| Modifier and Type | Method and Description |
|---|---|
TypeList |
getAppendedParameters()
A rebased method might require additional arguments in order to create a distinct signature.
|
MethodDescription.InDefinedShape |
getResolvedMethod()
Returns the resolved method if this resolution represents a rebased method or the original method.
|
boolean |
isRebased()
Checks if this resolution represents a rebased method.
|
public Preserved(MethodDescription.InDefinedShape methodDescription)
MethodRebaseResolver.Resolution for
a non-rebased method.methodDescription - The preserved method.public boolean isRebased()
isRebased in interface MethodRebaseResolver.Resolutiontrue if this resolution requires to rebase a method.public MethodDescription.InDefinedShape getResolvedMethod()
getResolvedMethod in interface MethodRebaseResolver.Resolutionpublic TypeList getAppendedParameters()
getAppendedParameters in interface MethodRebaseResolver.ResolutionCopyright © 2014–2025. All rights reserved.