Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
FieldAccessor.FieldDefinable
Determines a field accessor that accesses a field of a given name which might not yet be
defined.
|
static interface |
FieldAccessor.OwnerTypeLocatable
A field accessor that can be configured to locate a field in a specific manner.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
FieldAccessor.ForNamedField
Implementation of a field accessor implementation where the field name is given explicitly.
|
protected static class |
FieldAccessor.ForUnnamedField
Implementation of a field accessor implementation where a field is identified by a method's name following
the Java specification for bean properties.
|
Modifier and Type | Method and Description |
---|---|
FieldAccessor.AssignerConfigurable |
FieldAccessor.FieldDefinable.defineAs(TypeDefinition typeDefinition,
ModifierContributor.ForField... modifier)
Defines a field with the given name in the instrumented type.
|
FieldAccessor.AssignerConfigurable |
FieldAccessor.ForNamedField.defineAs(TypeDefinition typeDefinition,
ModifierContributor.ForField... modifier) |
FieldAccessor.AssignerConfigurable |
FieldAccessor.FieldDefinable.defineAs(Type type,
ModifierContributor.ForField... modifier)
Defines a field with the given name in the instrumented type.
|
FieldAccessor.AssignerConfigurable |
FieldAccessor.ForNamedField.defineAs(Type type,
ModifierContributor.ForField... modifier) |
FieldAccessor.AssignerConfigurable |
FieldAccessor.OwnerTypeLocatable.in(Class<?> type)
Determines that a field should only be considered when it was defined in a given type.
|
FieldAccessor.AssignerConfigurable |
FieldAccessor.ForUnnamedField.in(Class<?> type) |
FieldAccessor.AssignerConfigurable |
FieldAccessor.ForNamedField.in(Class<?> type) |
FieldAccessor.AssignerConfigurable |
FieldAccessor.OwnerTypeLocatable.in(FieldAccessor.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.AssignerConfigurable |
FieldAccessor.ForUnnamedField.in(FieldAccessor.FieldLocator.Factory fieldLocatorFactory) |
FieldAccessor.AssignerConfigurable |
FieldAccessor.ForNamedField.in(FieldAccessor.FieldLocator.Factory fieldLocatorFactory) |
FieldAccessor.AssignerConfigurable |
FieldAccessor.OwnerTypeLocatable.in(TypeDescription typeDescription)
Determines that a field should only be considered when it was defined in a given type.
|
FieldAccessor.AssignerConfigurable |
FieldAccessor.ForUnnamedField.in(TypeDescription typeDescription) |
FieldAccessor.AssignerConfigurable |
FieldAccessor.ForNamedField.in(TypeDescription typeDescription) |
Copyright © 2014–2016. All rights reserved.