protected static interface MethodDelegation.ImplementationDelegate extends InstrumentedType.Prepareable
Modifier and Type | Interface and Description |
---|---|
static class |
MethodDelegation.ImplementationDelegate.ForConstruction
An implementation delegate that invokes a constructor.
|
static class |
MethodDelegation.ImplementationDelegate.ForField
An implementation delegate for loading a delegate from a field.
|
static class |
MethodDelegation.ImplementationDelegate.ForInstance
An implementation delegate that defines a static field to contain a given instance.
|
static class |
MethodDelegation.ImplementationDelegate.ForStaticMethod
An implementation delegate for invoking a static method.
|
static class |
MethodDelegation.ImplementationDelegate.Resolution
A resolution of an implementation delegate for a given instrumented type.
|
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_PREFIX
A name prefix for fields.
|
Modifier and Type | Method and Description |
---|---|
MethodDelegation.ImplementationDelegate |
filter(ElementMatcher<? super MethodDescription> matcher)
Filters all methods that do not fit the supplied matcher from delegation.
|
MethodDelegation.ImplementationDelegate.Resolution |
resolve(TypeDescription instrumentedType)
Resolves this implementation delegate.
|
prepare
static final String FIELD_NAME_PREFIX
MethodDelegation.ImplementationDelegate filter(ElementMatcher<? super MethodDescription> matcher)
matcher
- The matcher to apply.MethodDelegation.ImplementationDelegate.Resolution resolve(TypeDescription instrumentedType)
instrumentedType
- The instrumented type.Copyright © 2014–2016. All rights reserved.