Package | Description |
---|---|
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.dynamic.scaffold.subclass |
All classes and types in this package are related to creating a
DynamicType by
creating a subclass of a given type. |
net.bytebuddy.instrumentation |
The instrumentation package contains any logic for intercepting method calls.
|
net.bytebuddy.modifier |
The modifier package contains high-level and type-safe descriptions of Java modifiers.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.FieldAnnotationTarget<T> |
DynamicType.Builder.defineField(String name,
Class<?> fieldType,
ModifierContributor.ForField... modifier)
Defines a new field for this type.
|
DynamicType.Builder.FieldAnnotationTarget<S> |
DynamicType.Builder.AbstractBase.defineField(String name,
Class<?> fieldType,
ModifierContributor.ForField... modifier) |
DynamicType.Builder.FieldAnnotationTarget<U> |
DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder.defineField(String name,
Class<?> fieldType,
ModifierContributor.ForField... modifier) |
DynamicType.Builder.FieldAnnotationTarget<T> |
DynamicType.Builder.defineField(String name,
TypeDescription fieldTypeDescription,
ModifierContributor.ForField... modifier)
Defines a new field for this type.
|
DynamicType.Builder.FieldAnnotationTarget<U> |
DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder.defineField(String name,
TypeDescription fieldTypeDescription,
ModifierContributor.ForField... modifier) |
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.FieldAnnotationTarget<T> |
SubclassDynamicTypeBuilder.defineField(String name,
TypeDescription fieldType,
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) |
Modifier and Type | Class and Description |
---|---|
class |
FieldManifestation
Describes the manifestation of a class's field, i.e.
|
class |
MemberVisibility
Describes a field's or a method's visibility.
|
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.
|
Copyright © 2014. All rights reserved.