public static class MethodRebaseResolver.MethodsOnly extends MethodRebaseResolver.AbstractBase
MethodRebaseResolver.AbstractBase, MethodRebaseResolver.Disabled, MethodRebaseResolver.Enabled, MethodRebaseResolver.MethodNameTransformer, MethodRebaseResolver.MethodsOnly, MethodRebaseResolver.ResolutioninstrumentedMethodsREBASED_METHOD_MODIFIER| Modifier | Constructor and Description |
|---|---|
protected |
MethodsOnly(Set<? extends MethodDescription> instrumentedMethods,
MethodRebaseResolver.MethodNameTransformer methodNameTransformer)
Creates a new methods-only method rebase resolver.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
List<DynamicType> |
getAuxiliaryTypes()
Returns a (potentially empty) list of auxiliary types that are required by this method rebase resolver.
|
int |
hashCode() |
protected static MethodRebaseResolver |
of(MethodList instrumentedMethods,
MethodRebaseResolver.MethodNameTransformer methodNameTransformer)
Creates a new method rebase resolver that is only capable of rebasing methods but not constructors.
|
protected MethodRebaseResolver.Resolution |
rebase(MethodDescription methodDescription)
Resolves a method that is instrumented.
|
String |
toString() |
resolveprotected MethodsOnly(Set<? extends MethodDescription> instrumentedMethods, MethodRebaseResolver.MethodNameTransformer methodNameTransformer)
instrumentedMethods - The instrumented methods that are to be rebased.methodNameTransformer - The method name transformer to use for rebasing methods.protected static MethodRebaseResolver of(MethodList instrumentedMethods, MethodRebaseResolver.MethodNameTransformer methodNameTransformer)
instrumentedMethods - The instrumented methods that should be rebased.methodNameTransformer - The method name transformer to use for rebasing method names.protected MethodRebaseResolver.Resolution rebase(MethodDescription methodDescription)
MethodRebaseResolver.AbstractBaserebase in class MethodRebaseResolver.AbstractBasemethodDescription - The method to be rebased.public List<DynamicType> getAuxiliaryTypes()
MethodRebaseResolverpublic boolean equals(Object other)
equals in class MethodRebaseResolver.AbstractBasepublic int hashCode()
hashCode in class MethodRebaseResolver.AbstractBaseCopyright © 2014–2015. All rights reserved.