Uses of Interface
net.bytebuddy.description.modifier.ModifierContributor.ForField
Packages that use ModifierContributor.ForField
Package
Description
The ASM package contains classes that are meant for direct interaction with the ASM API.
The modifier package contains high-level and type-safe descriptions of Java modifiers.
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
-
Uses of ModifierContributor.ForField in net.bytebuddy.asm
Methods in net.bytebuddy.asm with parameters of type ModifierContributor.ForFieldModifier and TypeMethodDescriptionModifierAdjustment.withFieldModifiers
(ModifierContributor.ForField... modifierContributor) Adjusts any field's modifiers.ModifierAdjustment.withFieldModifiers
(ElementMatcher<? super FieldDescription.InDefinedShape> matcher, ModifierContributor.ForField... modifierContributor) Adjusts a field's modifiers if it fulfills the supplied matcher.Method parameters in net.bytebuddy.asm with type arguments of type ModifierContributor.ForFieldModifier and TypeMethodDescriptionModifierAdjustment.withFieldModifiers
(List<? extends ModifierContributor.ForField> modifierContributors) Adjusts any field's modifiers.ModifierAdjustment.withFieldModifiers
(ElementMatcher<? super FieldDescription.InDefinedShape> matcher, List<? extends ModifierContributor.ForField> modifierContributors) Adjusts a field's modifiers if it fulfills the supplied matcher. -
Uses of ModifierContributor.ForField in net.bytebuddy.description.modifier
Classes in net.bytebuddy.description.modifier that implement ModifierContributor.ForFieldModifier and TypeClassDescriptionenum
Determines if a type describes an enumeration.enum
Describes the manifestation of a class's field, i.e.enum
Describes the persistence of a field, i.e.enum
Indicates if a member is mandated.enum
Determines the ownership of a field or method, i.e.enum
Defines if a type or member is supposed to be marked as synthetic.enum
Describes a type's, field's or a method's visibility.Methods in net.bytebuddy.description.modifier that return types with arguments of type ModifierContributor.ForFieldModifier and TypeMethodDescriptionModifierContributor.Resolver.of
(ModifierContributor.ForField... modifierContributor) Creates a new resolver for modifier contributors to a field.Methods in net.bytebuddy.description.modifier with parameters of type ModifierContributor.ForFieldModifier and TypeMethodDescriptionModifierContributor.Resolver.of
(ModifierContributor.ForField... modifierContributor) Creates a new resolver for modifier contributors to a field. -
Uses of ModifierContributor.ForField in net.bytebuddy.dynamic
Fields in net.bytebuddy.dynamic with type parameters of type ModifierContributor.ForFieldModifier and TypeFieldDescriptionprivate final ModifierContributor.Resolver<ModifierContributor.ForField>
Transformer.ForField.FieldModifierTransformer.resolver
The resolver to apply for transforming the modifiers of a field.Methods in net.bytebuddy.dynamic with parameters of type ModifierContributor.ForFieldModifier and TypeMethodDescriptionDynamicType.Builder.AbstractBase.defineField
(String name, Type type, ModifierContributor.ForField... modifierContributor) Defines the specified field as a field of the built dynamic type.DynamicType.Builder.AbstractBase.defineField
(String name, TypeDefinition type, ModifierContributor.ForField... modifierContributor) Defines the specified field as a field of the built dynamic type.DynamicType.Builder.defineField
(String name, Type type, ModifierContributor.ForField... modifierContributor) Defines the specified field as a field of the built dynamic type.DynamicType.Builder.defineField
(String name, TypeDefinition type, ModifierContributor.ForField... modifierContributor) Defines the specified field as a field of the built dynamic type.static Transformer<FieldDescription>
Transformer.ForField.withModifiers
(ModifierContributor.ForField... modifierContributor) Creates a field transformer that patches the transformed field by the given modifier contributors.Method parameters in net.bytebuddy.dynamic with type arguments of type ModifierContributor.ForFieldModifier and TypeMethodDescriptionDynamicType.Builder.AbstractBase.defineField
(String name, Type type, Collection<? extends ModifierContributor.ForField> modifierContributors) Defines the specified field as a field of the built dynamic type.DynamicType.Builder.AbstractBase.defineField
(String name, TypeDefinition type, Collection<? extends ModifierContributor.ForField> modifierContributors) Defines the specified field as a field of the built dynamic type.DynamicType.Builder.defineField
(String name, Type type, Collection<? extends ModifierContributor.ForField> modifierContributors) Defines the specified field as a field of the built dynamic type.DynamicType.Builder.defineField
(String name, TypeDefinition type, Collection<? extends ModifierContributor.ForField> modifierContributors) Defines the specified field as a field of the built dynamic type.static Transformer<FieldDescription>
Transformer.ForField.withModifiers
(List<? extends ModifierContributor.ForField> modifierContributors) Creates a field transformer that patches the transformed field by the given modifier contributors.Constructor parameters in net.bytebuddy.dynamic with type arguments of type ModifierContributor.ForFieldModifierConstructorDescriptionprotected
Creates a new field token modifier for transforming a field's modifiers.