Uses of Interface
net.bytebuddy.dynamic.scaffold.FieldLocator.Factory
Packages that use FieldLocator.Factory
Package
Description
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
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.FactoryModifier and TypeClassDescriptionstatic enumA factory for creating aFieldLocator.ForClassHierarchy.static classA factory for creating aFieldLocator.ForExactType.static enumA factory for locating a field in a top-level type.static enumA field locator that never discovers a field. -
Uses of FieldLocator.Factory in net.bytebuddy.implementation
Fields in net.bytebuddy.implementation declared as FieldLocator.FactoryModifier and TypeFieldDescriptionprivate final FieldLocator.FactoryFieldAccessor.FieldLocation.Relative.fieldLocatorFactoryThe field locator factory to use.private final FieldLocator.FactoryInvocationHandlerAdapter.ForField.fieldLocatorFactoryThe field locator factory to use.protected final FieldLocator.FactoryInvokeDynamic.InvocationProvider.ArgumentProvider.ForField.fieldLocatorFactoryThe field locator factory to use.private final FieldLocator.FactoryInvokeDynamic.WithImplicitType.OfField.fieldLocatorFactoryThe field locator factory to use.private final FieldLocator.FactoryMethodCall.ArgumentLoader.ForField.Factory.fieldLocatorFactoryThe field locator to use.private final FieldLocator.FactoryMethodCall.TargetHandler.ForField.Location.ForImplicitField.fieldLocatorFactoryThe field locator factory to use.private final FieldLocator.FactoryMethodDelegation.ImplementationDelegate.ForField.WithLookup.fieldLocatorFactoryThe field locator factory to use for locating the field to delegate to.Methods in net.bytebuddy.implementation with parameters of type FieldLocator.FactoryModifier and TypeMethodDescriptionFieldAccessor.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.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.WithoutSpecifiedTarget.onField(String name, FieldLocator.Factory fieldLocatorFactory) Invokes a method on the object stored in the specified field.static InvocationHandlerAdapterInvocationHandlerAdapter.toField(String name, FieldLocator.Factory fieldLocatorFactory) Creates an implementation for anyInvocationHandlerthat delegates all method interceptions to a field with the given name.static MethodDelegationMethodDelegation.toField(String name, FieldLocator.Factory fieldLocatorFactory) Delegates any intercepted method to invoke a non-staticmethod on the instance of the supplied field.static MethodDelegationMethodDelegation.toField(String name, FieldLocator.Factory fieldLocatorFactory, MethodGraph.Compiler methodGraphCompiler) Delegates any intercepted method to invoke a non-staticmethod on the instance of the supplied field.MethodDelegation.WithCustomProperties.toField(String name, FieldLocator.Factory fieldLocatorFactory) Delegates any intercepted method to invoke a non-staticmethod on the instance of the supplied field.MethodDelegation.WithCustomProperties.toField(String name, FieldLocator.Factory fieldLocatorFactory, MethodGraph.Compiler methodGraphCompiler) Delegates any intercepted method to invoke a non-staticmethod on the instance of the supplied field.FieldAccessor.FieldLocation.Absolute.with(FieldLocator.Factory fieldLocatorFactory) Specifies a field locator factory to use.FieldAccessor.FieldLocation.Relative.with(FieldLocator.Factory fieldLocatorFactory) Specifies a field locator factory to use.FieldAccessor.FieldLocation.with(FieldLocator.Factory fieldLocatorFactory) Specifies a field locator factory to use.InvokeDynamic.AbstractDelegator.withField(String name, FieldLocator.Factory fieldLocatorFactory) Passes the values of the specified fields to the bootstrap method.InvokeDynamic.AbstractDelegator.withField(FieldLocator.Factory fieldLocatorFactory, String... name) Passes the values of the specified fields to the bootstrap method.InvokeDynamic.withField(String name, FieldLocator.Factory fieldLocatorFactory) Passes the values of the specified fields to the bootstrap method.InvokeDynamic.withField(FieldLocator.Factory fieldLocatorFactory, String... name) Passes the values of the specified fields to the bootstrap method.MethodCall.withField(FieldLocator.Factory fieldLocatorFactory, 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.FactoryModifierConstructorDescriptionFactory(String name, FieldLocator.Factory fieldLocatorFactory) Creates a new argument loader for an existing field.protectedForField(String fieldName, boolean cached, boolean privileged, boolean returning, Assigner assigner, FieldLocator.Factory fieldLocatorFactory) Creates a new invocation handler adapter that loads its value from a field.protectedForField(String fieldName, FieldLocator.Factory fieldLocatorFactory) Creates a new argument provider that loads the value of an existing field.protectedForImplicitField(String name, FieldLocator.Factory fieldLocatorFactory) Creates an implicit field location.protectedOfField(MethodDescription.InDefinedShape bootstrap, List<? extends JavaConstant> arguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing, String fieldName, FieldLocator.Factory fieldLocatorFactory) Creates a new abstract delegator for a dynamic method invocation where the last argument is assigned an implicit type.privateRelative(List<? extends FieldAccessor.FieldNameExtractor> fieldNameExtractors, FieldLocator.Factory fieldLocatorFactory) Creates a new relative field location.protectedWithExplicitType(String fieldName, FieldLocator.Factory fieldLocatorFactory, TypeDescription typeDescription) Creates an argument provider for a field value with an explicit type.protectedWithLookup(String fieldName, MethodGraph.Compiler methodGraphCompiler, 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.