| 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ModifierAdjustment | 
ModifierAdjustment.withFieldModifiers(ElementMatcher<? super FieldDescription.InDefinedShape> matcher,
                  ModifierContributor.ForField... modifierContributor)
Adjusts a field's modifiers if it fulfills the supplied matcher. 
 | 
ModifierAdjustment | 
ModifierAdjustment.withFieldModifiers(ModifierContributor.ForField... modifierContributor)
Adjusts any field's modifiers. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ModifierAdjustment | 
ModifierAdjustment.withFieldModifiers(ElementMatcher<? super FieldDescription.InDefinedShape> matcher,
                  List<? extends ModifierContributor.ForField> modifierContributors)
Adjusts a field's modifiers if it fulfills the supplied matcher. 
 | 
ModifierAdjustment | 
ModifierAdjustment.withFieldModifiers(List<? extends ModifierContributor.ForField> modifierContributors)
Adjusts any field's modifiers. 
 | 
| Modifier and Type | Class and 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ModifierContributor.Resolver<ModifierContributor.ForField> | 
ModifierContributor.Resolver.of(ModifierContributor.ForField... modifierContributor)
Creates a new resolver for modifier contributors to a field. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ModifierContributor.Resolver<ModifierContributor.ForField> | 
ModifierContributor.Resolver.of(ModifierContributor.ForField... modifierContributor)
Creates a new resolver for modifier contributors to a field. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
DynamicType.Builder.FieldDefinition.Optional.Valuable<T> | 
DynamicType.Builder.defineField(String name,
           TypeDefinition 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(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(String name,
           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(String name,
           Type 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
DynamicType.Builder.FieldDefinition.Optional.Valuable<T> | 
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.FieldDefinition.Optional.Valuable<S> | 
DynamicType.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.FieldDefinition.Optional.Valuable<T> | 
DynamicType.Builder.defineField(String name,
           TypeDefinition type,
           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(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 and Description | 
|---|
FieldModifierTransformer(ModifierContributor.Resolver<ModifierContributor.ForField> resolver)
Creates a new field token modifier for transforming a field's modifiers. 
 | 
Copyright © 2014–2024. All rights reserved.