@HashCodeAndEqualsPlugin.Enhance protected static class MethodCall.TerminationHandler.FieldSetting.Implicit extends java.lang.Object implements MethodCall.TerminationHandler.Factory
Modifier and Type | Field and Description |
---|---|
private ElementMatcher<? super FieldDescription> |
matcher
The matcher being used for locating a field.
|
Modifier | Constructor and Description |
---|---|
protected |
Implicit(ElementMatcher<? super FieldDescription> matcher)
Creates a factory for a field-setting termination handler.
|
Modifier and Type | Method and Description |
---|---|
MethodCall.TerminationHandler |
make(TypeDescription instrumentedType)
Creates a termination handler for a given instrumented type.
|
private final ElementMatcher<? super FieldDescription> matcher
protected Implicit(ElementMatcher<? super FieldDescription> matcher)
matcher
- The matcher being used for locating a field.public MethodCall.TerminationHandler make(TypeDescription instrumentedType)
make
in interface MethodCall.TerminationHandler.Factory
instrumentedType
- The instrumented type.