public static interface FieldAccessor.FieldDefinable extends FieldAccessor.OwnerTypeLocatable
Implementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.Target
Modifier and Type | Method and Description |
---|---|
FieldAccessor.AssignerConfigurable |
defineAs(TypeDefinition typeDefinition,
ModifierContributor.ForField... modifier)
Defines a field with the given name in the instrumented type.
|
FieldAccessor.AssignerConfigurable |
defineAs(Type type,
ModifierContributor.ForField... modifier)
Defines a field with the given name in the instrumented type.
|
in, in, in
withAssigner
appender
prepare
FieldAccessor.AssignerConfigurable defineAs(Type type, ModifierContributor.ForField... modifier)
type
- The type of the field.modifier
- The modifiers for the field.FieldAccessor.AssignerConfigurable defineAs(TypeDefinition typeDefinition, ModifierContributor.ForField... modifier)
typeDefinition
- The type of the field.modifier
- The modifiers for the field.Copyright © 2014–2016. All rights reserved.