Uses of Interface
net.bytebuddy.dynamic.scaffold.FieldLocator.Factory
-
Packages that use FieldLocator.Factory Package Description net.bytebuddy.dynamic.scaffold This package contains helper types and implementations that are responsible for the actual writing of a byte array representing a Java class.net.bytebuddy.implementation The implementation package contains any logic for intercepting method calls. -
-
Uses of FieldLocator.Factory in net.bytebuddy.dynamic.scaffold
Classes in net.bytebuddy.dynamic.scaffold that implement FieldLocator.Factory Modifier and Type Class Description static class
FieldLocator.ForClassHierarchy.Factory
A factory for creating aFieldLocator.ForClassHierarchy
.static class
FieldLocator.ForExactType.Factory
A factory for creating aFieldLocator.ForExactType
.static class
FieldLocator.ForTopLevelType.Factory
A factory for locating a field in a top-level type.static class
FieldLocator.NoOp
A field locator that never discovers a field. -
Uses of FieldLocator.Factory in net.bytebuddy.implementation
Fields in net.bytebuddy.implementation declared as FieldLocator.Factory Modifier and Type Field Description private FieldLocator.Factory
FieldAccessor.FieldLocation.Relative. fieldLocatorFactory
The field locator factory to use.private FieldLocator.Factory
InvocationHandlerAdapter.ForField. fieldLocatorFactory
The field locator factory to use.protected FieldLocator.Factory
InvokeDynamic.InvocationProvider.ArgumentProvider.ForField. fieldLocatorFactory
The field locator factory to use.private FieldLocator.Factory
InvokeDynamic.WithImplicitType.OfField. fieldLocatorFactory
The field locator factory to use.private FieldLocator.Factory
MethodCall.ArgumentLoader.ForField.Factory. fieldLocatorFactory
The field locator to use.private FieldLocator.Factory
MethodCall.TargetHandler.ForField.Location.ForImplicitField. fieldLocatorFactory
The field locator factory to use.private FieldLocator.Factory
MethodDelegation.ImplementationDelegate.ForField.WithLookup. fieldLocatorFactory
The field locator factory to use for locating the field to delegate to.Methods in net.bytebuddy.implementation with parameters of type FieldLocator.Factory Modifier and Type Method Description FieldAccessor.AssignerConfigurable
FieldAccessor.ForImplicitProperty. in(FieldLocator.Factory fieldLocatorFactory)
Determines that a field should only be considered when it was identified by a field locator that is produced by the given factory.FieldAccessor.AssignerConfigurable
FieldAccessor.OwnerTypeLocatable. in(FieldLocator.Factory fieldLocatorFactory)
Determines that a field should only be considered when it was identified by a field locator that is produced by the given factory.MethodCall
MethodCall.WithoutSpecifiedTarget. onField(java.lang.String name, FieldLocator.Factory fieldLocatorFactory)
Invokes a method on the object stored in the specified field.static InvocationHandlerAdapter
InvocationHandlerAdapter. toField(java.lang.String name, FieldLocator.Factory fieldLocatorFactory)
Creates an implementation for anyInvocationHandler
that delegates all method interceptions to a field with the given name.static MethodDelegation
MethodDelegation. toField(java.lang.String name, FieldLocator.Factory fieldLocatorFactory)
Delegates any intercepted method to invoke a non-static
method on the instance of the supplied field.static MethodDelegation
MethodDelegation. toField(java.lang.String name, FieldLocator.Factory fieldLocatorFactory, MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-static
method on the instance of the supplied field.MethodDelegation
MethodDelegation.WithCustomProperties. toField(java.lang.String name, FieldLocator.Factory fieldLocatorFactory)
Delegates any intercepted method to invoke a non-static
method on the instance of the supplied field.MethodDelegation
MethodDelegation.WithCustomProperties. toField(java.lang.String name, FieldLocator.Factory fieldLocatorFactory, MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-static
method on the instance of the supplied field.FieldAccessor.FieldLocation
FieldAccessor.FieldLocation.Absolute. with(FieldLocator.Factory fieldLocatorFactory)
Specifies a field locator factory to use.FieldAccessor.FieldLocation
FieldAccessor.FieldLocation.Relative. with(FieldLocator.Factory fieldLocatorFactory)
Specifies a field locator factory to use.FieldAccessor.FieldLocation
FieldAccessor.FieldLocation. with(FieldLocator.Factory fieldLocatorFactory)
Specifies a field locator factory to use.InvokeDynamic.WithImplicitType
InvokeDynamic.AbstractDelegator. withField(java.lang.String name, FieldLocator.Factory fieldLocatorFactory)
Passes the values of the specified fields to the bootstrap method.InvokeDynamic
InvokeDynamic.AbstractDelegator. withField(FieldLocator.Factory fieldLocatorFactory, java.lang.String... name)
Passes the values of the specified fields to the bootstrap method.InvokeDynamic.WithImplicitType
InvokeDynamic. withField(java.lang.String name, FieldLocator.Factory fieldLocatorFactory)
Passes the values of the specified fields to the bootstrap method.InvokeDynamic
InvokeDynamic. withField(FieldLocator.Factory fieldLocatorFactory, java.lang.String... name)
Passes the values of the specified fields to the bootstrap method.MethodCall
MethodCall. withField(FieldLocator.Factory fieldLocatorFactory, java.lang.String... name)
Defines a method call which fetches a value from a list of existing fields.Constructors in net.bytebuddy.implementation with parameters of type FieldLocator.Factory Constructor Description Factory(java.lang.String name, FieldLocator.Factory fieldLocatorFactory)
Creates a new argument loader for an existing field.ForField(java.lang.String fieldName, boolean cached, boolean privileged, Assigner assigner, FieldLocator.Factory fieldLocatorFactory)
Creates a new invocation handler adapter that loads its value from a field.ForField(java.lang.String fieldName, FieldLocator.Factory fieldLocatorFactory)
Creates a new argument provider that loads the value of an existing field.ForImplicitField(java.lang.String name, FieldLocator.Factory fieldLocatorFactory)
Creates an implicit field location.OfField(MethodDescription.InDefinedShape bootstrap, java.util.List<?> arguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing, java.lang.String fieldName, FieldLocator.Factory fieldLocatorFactory)
Creates a new abstract delegator for a dynamic method invocation where the last argument is assigned an implicit type.Relative(FieldAccessor.FieldNameExtractor fieldNameExtractor, FieldLocator.Factory fieldLocatorFactory)
Creates a new relative field location.WithExplicitType(java.lang.String fieldName, FieldLocator.Factory fieldLocatorFactory, TypeDescription typeDescription)
Creates an argument provider for a field value with an explicit type.WithLookup(java.lang.String fieldName, MethodGraph.Compiler methodGraphCompiler, java.util.List<? extends TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders, ElementMatcher<? super MethodDescription> matcher, FieldLocator.Factory fieldLocatorFactory)
Creates a new implementation delegate for a field that is declared by the instrumented type or any super type.
-