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 classFieldLocator.ForClassHierarchy.FactoryA factory for creating aFieldLocator.ForClassHierarchy.static classFieldLocator.ForExactType.FactoryA factory for creating aFieldLocator.ForExactType.static classFieldLocator.ForTopLevelType.FactoryA factory for locating a field in a top-level type.static classFieldLocator.NoOpA 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.FactoryFieldAccessor.FieldLocation.Relative. fieldLocatorFactoryThe field locator factory to use.private FieldLocator.FactoryInvocationHandlerAdapter.ForField. fieldLocatorFactoryThe field locator factory to use.protected FieldLocator.FactoryInvokeDynamic.InvocationProvider.ArgumentProvider.ForField. fieldLocatorFactoryThe field locator factory to use.private FieldLocator.FactoryInvokeDynamic.WithImplicitType.OfField. fieldLocatorFactoryThe field locator factory to use.private FieldLocator.FactoryMethodCall.ArgumentLoader.ForField.Factory. fieldLocatorFactoryThe field locator to use.private FieldLocator.FactoryMethodCall.TargetHandler.ForField.Location.ForImplicitField. fieldLocatorFactoryThe field locator factory to use.private 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.Factory Modifier and Type Method Description FieldAccessor.AssignerConfigurableFieldAccessor.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.AssignerConfigurableFieldAccessor.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.MethodCallMethodCall.WithoutSpecifiedTarget. onField(java.lang.String name, FieldLocator.Factory fieldLocatorFactory)Invokes a method on the object stored in the specified field.static InvocationHandlerAdapterInvocationHandlerAdapter. toField(java.lang.String name, FieldLocator.Factory fieldLocatorFactory)Creates an implementation for anyInvocationHandlerthat delegates all method interceptions to a field with the given name.static MethodDelegationMethodDelegation. toField(java.lang.String name, FieldLocator.Factory fieldLocatorFactory)Delegates any intercepted method to invoke a non-staticmethod on the instance of the supplied field.static MethodDelegationMethodDelegation. toField(java.lang.String name, FieldLocator.Factory fieldLocatorFactory, MethodGraph.Compiler methodGraphCompiler)Delegates any intercepted method to invoke a non-staticmethod on the instance of the supplied field.MethodDelegationMethodDelegation.WithCustomProperties. toField(java.lang.String name, FieldLocator.Factory fieldLocatorFactory)Delegates any intercepted method to invoke a non-staticmethod on the instance of the supplied field.MethodDelegationMethodDelegation.WithCustomProperties. toField(java.lang.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.FieldLocationFieldAccessor.FieldLocation.Absolute. with(FieldLocator.Factory fieldLocatorFactory)Specifies a field locator factory to use.FieldAccessor.FieldLocationFieldAccessor.FieldLocation.Relative. with(FieldLocator.Factory fieldLocatorFactory)Specifies a field locator factory to use.FieldAccessor.FieldLocationFieldAccessor.FieldLocation. with(FieldLocator.Factory fieldLocatorFactory)Specifies a field locator factory to use.InvokeDynamic.WithImplicitTypeInvokeDynamic.AbstractDelegator. withField(java.lang.String name, FieldLocator.Factory fieldLocatorFactory)Passes the values of the specified fields to the bootstrap method.InvokeDynamicInvokeDynamic.AbstractDelegator. withField(FieldLocator.Factory fieldLocatorFactory, java.lang.String... name)Passes the values of the specified fields to the bootstrap method.InvokeDynamic.WithImplicitTypeInvokeDynamic. withField(java.lang.String name, FieldLocator.Factory fieldLocatorFactory)Passes the values of the specified fields to the bootstrap method.InvokeDynamicInvokeDynamic. withField(FieldLocator.Factory fieldLocatorFactory, java.lang.String... name)Passes the values of the specified fields to the bootstrap method.MethodCallMethodCall. 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.
-