public static class MethodDelegation.MethodContainer.ForVirtualMethods extends Object implements MethodDelegation.MethodContainer
MethodDelegation.MethodContainer.ForExplicitMethods, MethodDelegation.MethodContainer.ForVirtualMethods| Modifier | Constructor and Description |
|---|---|
protected |
ForVirtualMethods(MethodGraph.Compiler methodGraphCompiler,
TypeDescription targetType)
Creates a new method container for virtual method extraction.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
MethodDelegation.MethodContainer |
filter(ElementMatcher<? super MethodDescription> matcher)
Appends a filter that is applied to the methods that this container represents.
|
int |
hashCode() |
MethodList<?> |
resolve(TypeDescription instrumentedType)
Resolves this method container to extract a list of methods to be considered for interception.
|
String |
toString() |
protected ForVirtualMethods(MethodGraph.Compiler methodGraphCompiler, TypeDescription targetType)
methodGraphCompiler - The method graph compiler to use.targetType - The target type for which the virtual methods should be extracted.public MethodDelegation.MethodContainer filter(ElementMatcher<? super MethodDescription> matcher)
MethodDelegation.MethodContainerfilter in interface MethodDelegation.MethodContainermatcher - The matcher that is to be applied for filtering methods.public MethodList<?> resolve(TypeDescription instrumentedType)
MethodDelegation.MethodContainerresolve in interface MethodDelegation.MethodContainerinstrumentedType - The instrumented type.Copyright © 2014–2015. All rights reserved.