Package | Description |
---|---|
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.
|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
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 |
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 |
---|---|
DynamicType.Builder.FieldValueTarget<T> |
DynamicType.Builder.defineField(String name,
Class<?> fieldType,
ModifierContributor.ForField... modifier)
Defines a new field for this type.
|
DynamicType.Builder.FieldValueTarget<S> |
DynamicType.Builder.AbstractBase.defineField(String name,
Class<?> fieldType,
ModifierContributor.ForField... modifier) |
DynamicType.Builder.FieldValueTarget<U> |
DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder.defineField(String name,
Class<?> fieldType,
ModifierContributor.ForField... modifier) |
DynamicType.Builder.FieldValueTarget<T> |
DynamicType.Builder.defineField(String name,
TypeDescription fieldTypeDescription,
ModifierContributor.ForField... modifier)
Defines a new field for this type.
|
DynamicType.Builder.FieldValueTarget<S> |
DynamicType.Builder.AbstractBase.defineField(String name,
TypeDescription fieldType,
ModifierContributor.ForField... modifier) |
DynamicType.Builder.FieldValueTarget<U> |
DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder.defineField(String name,
TypeDescription fieldTypeDescription,
ModifierContributor.ForField... modifier) |
Modifier and Type | Method and Description |
---|---|
FieldAccessor.AssignerConfigurable |
FieldAccessor.FieldDefinable.defineAs(Class<?> type,
ModifierContributor.ForField... modifier)
Defines a field with the given name in the instrumented type.
|
FieldAccessor.AssignerConfigurable |
FieldAccessor.ForNamedField.defineAs(Class<?> type,
ModifierContributor.ForField... modifier) |
FieldAccessor.AssignerConfigurable |
FieldAccessor.FieldDefinable.defineAs(TypeDescription typeDescription,
ModifierContributor.ForField... modifier)
Defines a field with the given name in the instrumented type.
|
FieldAccessor.AssignerConfigurable |
FieldAccessor.ForNamedField.defineAs(TypeDescription typeDescription,
ModifierContributor.ForField... modifier) |
static FieldAccessor.ForNamedField.PreparationHandler |
FieldAccessor.ForNamedField.PreparationHandler.FieldDefiner.of(String name,
TypeDescription typeDescription,
ModifierContributor.ForField... contributor)
Creates a new preparation handler that defines a given field.
|
Copyright © 2014–2015. All rights reserved.