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.
|
net.bytebuddy.dynamic.scaffold |
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
|
net.bytebuddy.dynamic.scaffold.inline |
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type. |
net.bytebuddy.implementation.auxiliary |
Auxiliary types describe helper types that aid as a supplementary to a given
InstrumentedType . |
Modifier and Type | Method and Description |
---|---|
ModifierAdjustment |
ModifierAdjustment.withTypeModifiers(ElementMatcher<? super TypeDescription> matcher,
ModifierContributor.ForType... modifierContributor)
Adjusts an instrumented type's modifiers if it matches the supplied matcher.
|
ModifierAdjustment |
ModifierAdjustment.withTypeModifiers(ModifierContributor.ForType... modifierContributor)
Adjusts any instrumented type's modifiers.
|
Modifier and Type | Method and Description |
---|---|
ModifierAdjustment |
ModifierAdjustment.withTypeModifiers(ElementMatcher<? super TypeDescription> matcher,
List<? extends ModifierContributor.ForType> modifierContributors)
Adjusts an instrumented type's modifiers if it matches the supplied matcher.
|
ModifierAdjustment |
ModifierAdjustment.withTypeModifiers(List<? extends ModifierContributor.ForType> modifierContributors)
Adjusts any instrumented type's modifiers.
|
Modifier and Type | Class and Description |
---|---|
class |
EnumerationState
Determines if a type describes an enumeration.
|
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 |
TypeManifestation
Describes a type's manifestation, i.e.
|
class |
Visibility
Describes a type's, field's or a method's visibility.
|
Modifier and Type | Method and Description |
---|---|
static ModifierContributor.Resolver<ModifierContributor.ForType> |
ModifierContributor.Resolver.of(ModifierContributor.ForType... modifierContributor)
Creates a new resolver for modifier contributors to a type.
|
Modifier and Type | Method and Description |
---|---|
static ModifierContributor.Resolver<ModifierContributor.ForType> |
ModifierContributor.Resolver.of(ModifierContributor.ForType... modifierContributor)
Creates a new resolver for modifier contributors to a type.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<T> |
DynamicType.Builder.merge(ModifierContributor.ForType... modifierContributor)
Merges the supplied modifier contributors with the modifiers of the instrumented type and defines them as the instrumented
type's new modifiers.
|
DynamicType.Builder<S> |
DynamicType.Builder.AbstractBase.merge(ModifierContributor.ForType... modifierContributor)
Merges the supplied modifier contributors with the modifiers of the instrumented type and defines them as the instrumented
type's new modifiers.
|
DynamicType.Builder<T> |
DynamicType.Builder.modifiers(ModifierContributor.ForType... modifierContributor)
Defines the supplied modifiers as the modifiers of the instrumented type.
|
DynamicType.Builder<S> |
DynamicType.Builder.AbstractBase.modifiers(ModifierContributor.ForType... modifierContributor)
Defines the supplied modifiers as the modifiers of the instrumented type.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<T> |
DynamicType.Builder.merge(Collection<? extends ModifierContributor.ForType> modifierContributors)
Merges the supplied modifier contributors with the modifiers of the instrumented type and defines them as the instrumented
type's new modifiers.
|
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Delegator.merge(Collection<? extends ModifierContributor.ForType> modifierContributors)
Merges the supplied modifier contributors with the modifiers of the instrumented type and defines them as the instrumented
type's new modifiers.
|
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.merge(Collection<? extends ModifierContributor.ForType> modifierContributors)
Merges the supplied modifier contributors with the modifiers of the instrumented type and defines them as the instrumented
type's new modifiers.
|
DynamicType.Builder<T> |
DynamicType.Builder.modifiers(Collection<? extends ModifierContributor.ForType> modifierContributors)
Defines the supplied modifiers as the modifiers of the instrumented type.
|
DynamicType.Builder<S> |
DynamicType.Builder.AbstractBase.modifiers(Collection<? extends ModifierContributor.ForType> modifierContributors)
Defines the supplied modifiers as the modifiers of the instrumented type.
|
Modifier and Type | Method and Description |
---|---|
static InstrumentedType |
InstrumentedType.Default.of(String name,
TypeDescription.Generic superClass,
ModifierContributor.ForType... modifierContributor)
Creates a new instrumented type.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<T> |
DecoratingDynamicTypeBuilder.merge(Collection<? extends ModifierContributor.ForType> modifierContributors)
Merges the supplied modifier contributors with the modifiers of the instrumented type and defines them as the instrumented
type's new modifiers.
|
Modifier and Type | Field and Description |
---|---|
static ModifierContributor.ForType[] |
AuxiliaryType.DEFAULT_TYPE_MODIFIER
The default type access of an auxiliary type.
|
Copyright © 2014–2020. All rights reserved.