Uses of Interface
net.bytebuddy.description.modifier.ModifierContributor.ForField
-
Packages that use ModifierContributor.ForField Package Description net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API.net.bytebuddy.description.modifier The modifier package contains high-level and type-safe descriptions of Java modifiers.net.bytebuddy.dynamic 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.ForField Modifier and Type Method Description ModifierAdjustment
ModifierAdjustment. withFieldModifiers(ModifierContributor.ForField... modifierContributor)
Adjusts any field's modifiers.ModifierAdjustment
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.ForField Modifier and Type Method Description ModifierAdjustment
ModifierAdjustment. withFieldModifiers(java.util.List<? extends ModifierContributor.ForField> modifierContributors)
Adjusts any field's modifiers.ModifierAdjustment
ModifierAdjustment. withFieldModifiers(ElementMatcher<? super FieldDescription.InDefinedShape> matcher, java.util.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.ForField Modifier and Type Class Description class
EnumerationState
Determines if a type describes an enumeration.class
FieldManifestation
Describes the manifestation of a class's field, i.e.class
FieldPersistence
Describes the persistence of a field, i.e.class
Mandate
Indicates if a member is mandated.class
Ownership
Determines the ownership of a field or method, i.e.class
SyntheticState
Defines if a type or member is supposed to be marked as synthetic.class
Visibility
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.ForField Modifier and Type Method Description static ModifierContributor.Resolver<ModifierContributor.ForField>
ModifierContributor.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.ForField Modifier and Type Method Description static ModifierContributor.Resolver<ModifierContributor.ForField>
ModifierContributor.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.ForField Modifier and Type Field Description private 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.ForField Modifier and Type Method Description DynamicType.Builder.FieldDefinition.Optional.Valuable<S>
DynamicType.Builder.AbstractBase. defineField(java.lang.String name, java.lang.reflect.Type type, ModifierContributor.ForField... modifierContributor)
Defines the specified field as a field of the built dynamic type.DynamicType.Builder.FieldDefinition.Optional.Valuable<S>
DynamicType.Builder.AbstractBase. defineField(java.lang.String name, TypeDefinition type, ModifierContributor.ForField... modifierContributor)
Defines the specified field as a field of the built dynamic type.DynamicType.Builder.FieldDefinition.Optional.Valuable<T>
DynamicType.Builder. defineField(java.lang.String name, java.lang.reflect.Type type, ModifierContributor.ForField... modifierContributor)
Defines the specified field as a field of the built dynamic type.DynamicType.Builder.FieldDefinition.Optional.Valuable<T>
DynamicType.Builder. defineField(java.lang.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.ForField Modifier and Type Method Description DynamicType.Builder.FieldDefinition.Optional.Valuable<S>
DynamicType.Builder.AbstractBase. defineField(java.lang.String name, java.lang.reflect.Type type, java.util.Collection<? extends ModifierContributor.ForField> modifierContributors)
Defines the specified field as a field of the built dynamic type.DynamicType.Builder.FieldDefinition.Optional.Valuable<S>
DynamicType.Builder.AbstractBase. defineField(java.lang.String name, TypeDefinition type, java.util.Collection<? extends ModifierContributor.ForField> modifierContributors)
Defines the specified field as a field of the built dynamic type.DynamicType.Builder.FieldDefinition.Optional.Valuable<T>
DynamicType.Builder. defineField(java.lang.String name, java.lang.reflect.Type type, java.util.Collection<? extends ModifierContributor.ForField> modifierContributors)
Defines the specified field as a field of the built dynamic type.DynamicType.Builder.FieldDefinition.Optional.Valuable<T>
DynamicType.Builder. defineField(java.lang.String name, TypeDefinition type, java.util.Collection<? extends ModifierContributor.ForField> modifierContributors)
Defines the specified field as a field of the built dynamic type.static Transformer<FieldDescription>
Transformer.ForField. withModifiers(java.util.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.ForField Constructor Description FieldModifierTransformer(ModifierContributor.Resolver<ModifierContributor.ForField> resolver)
Creates a new field token modifier for transforming a field's modifiers.
-