Package | Description |
---|---|
net.bytebuddy.description.annotation |
Contains descriptions of annotations and annotation values.
|
net.bytebuddy.description.type |
Contains descriptions of Java types and packages.
|
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.pool |
Classes of this package allow for the creating
TypeDescription s without
loading any classes. |
net.bytebuddy.utility |
This package contains utility classes for common use within any Byte Buddy logic.
|
Modifier and Type | Method and Description |
---|---|
TypeList |
AnnotationList.asTypeList()
Returns a list of the annotation types of this list.
|
TypeList |
AnnotationList.AbstractBase.asTypeList()
Returns a list of the annotation types of this list.
|
TypeList |
AnnotationList.Empty.asTypeList()
Returns a list of the annotation types of this list.
|
Modifier and Type | Class and Description |
---|---|
static class |
TypeList.AbstractBase
An abstract base implementation of a type list.
|
static class |
TypeList.Empty
An implementation of an empty type list.
|
static class |
TypeList.Explicit
A wrapper implementation of an explicit list of types.
|
static class |
TypeList.ForLoadedTypes
Implementation of a type list for an array of loaded types.
|
Modifier and Type | Field and Description |
---|---|
static TypeList |
TypeList.UNDEFINED
An
null type list. |
Modifier and Type | Method and Description |
---|---|
TypeList |
TypeList.Generic.asErasures()
Returns a list of the generic types' erasures.
|
TypeList |
TypeList.Generic.AbstractBase.asErasures()
Returns a list of the generic types' erasures.
|
TypeList |
TypeList.Generic.OfLoadedInterfaceTypes.asErasures()
Returns a list of the generic types' erasures.
|
TypeList |
TypeList.Generic.OfConstructorExceptionTypes.asErasures()
Returns a list of the generic types' erasures.
|
TypeList |
TypeList.Generic.OfMethodExceptionTypes.asErasures()
Returns a list of the generic types' erasures.
|
TypeList |
TypeList.Generic.Empty.asErasures()
Returns a list of the generic types' erasures.
|
TypeList |
TypeDescription.getDeclaredTypes()
Returns a list of types that are declared by this type.
|
TypeList |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getDeclaredTypes()
Returns a list of types that are declared by this type.
|
TypeList |
TypeDescription.ForLoadedType.getDeclaredTypes()
Returns a list of types that are declared by this type.
|
TypeList |
TypeDescription.ArrayProjection.getDeclaredTypes()
Returns a list of types that are declared by this type.
|
TypeList |
TypeDescription.Latent.getDeclaredTypes()
Returns a list of types that are declared by this type.
|
TypeList |
TypeDescription.ForPackageDescription.getDeclaredTypes()
Returns a list of types that are declared by this type.
|
TypeList |
TypeDescription.SuperTypeLoading.getDeclaredTypes()
Returns a list of types that are declared by this type.
|
TypeList |
TypeDescription.getNestMembers()
Returns a list of members that are part of a nesting group.
|
TypeList |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getNestMembers()
Returns a list of members that are part of a nesting group.
|
TypeList |
TypeDescription.ForLoadedType.getNestMembers()
Returns a list of members that are part of a nesting group.
|
TypeList |
TypeDescription.ArrayProjection.getNestMembers()
Returns a list of members that are part of a nesting group.
|
TypeList |
TypeDescription.Latent.getNestMembers()
Returns a list of members that are part of a nesting group.
|
TypeList |
TypeDescription.ForPackageDescription.getNestMembers()
Returns a list of members that are part of a nesting group.
|
TypeList |
TypeDescription.SuperTypeLoading.getNestMembers()
Returns a list of members that are part of a nesting group.
|
TypeList |
TypeDescription.getPermittedSubtypes()
Returns the list of permitted direct subclasses if this class is a sealed class.
|
TypeList |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getPermittedSubtypes()
Returns the list of permitted direct subclasses if this class is a sealed class.
|
TypeList |
TypeDescription.ForLoadedType.getPermittedSubtypes()
Returns the list of permitted direct subclasses if this class is a sealed class.
|
TypeList |
TypeDescription.ArrayProjection.getPermittedSubtypes()
Returns the list of permitted direct subclasses if this class is a sealed class.
|
TypeList |
TypeDescription.Latent.getPermittedSubtypes()
Returns the list of permitted direct subclasses if this class is a sealed class.
|
TypeList |
TypeDescription.ForPackageDescription.getPermittedSubtypes()
Returns the list of permitted direct subclasses if this class is a sealed class.
|
TypeList |
TypeDescription.SuperTypeLoading.getPermittedSubtypes()
Returns the list of permitted direct subclasses if this class is a sealed class.
|
static TypeList |
TypeList.Explicit.of(List<? extends JavaConstant> constants)
Returns a list of types of the supplied Java constants.
|
protected TypeList |
TypeList.AbstractBase.wrap(List<TypeDescription> values) |
Modifier and Type | Method and Description |
---|---|
TypeList |
InstrumentedType.Default.getDeclaredTypes()
Returns a list of types that are declared by this type.
|
TypeList |
InstrumentedType.Frozen.getDeclaredTypes()
Returns a list of types that are declared by this type.
|
TypeList |
InstrumentedType.Default.getNestMembers()
Returns a list of members that are part of a nesting group.
|
TypeList |
InstrumentedType.Frozen.getNestMembers()
Returns a list of members that are part of a nesting group.
|
TypeList |
InstrumentedType.Default.getPermittedSubtypes()
Returns the list of permitted direct subclasses if this class is a sealed class.
|
TypeList |
InstrumentedType.Frozen.getPermittedSubtypes()
Returns the list of permitted direct subclasses if this class is a sealed class.
|
Modifier and Type | Method and Description |
---|---|
InstrumentedType |
InstrumentedType.withDeclaredTypes(TypeList declaredTypes)
Creates a new instrumented type that indicates that it declared the supplied types.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.WithFlexibleName.withDeclaredTypes(TypeList declaredTypes)
Creates a new instrumented type that indicates that it declared the supplied types.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Default.withDeclaredTypes(TypeList declaredTypes)
Creates a new instrumented type that indicates that it declared the supplied types.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Frozen.withDeclaredTypes(TypeList declaredTypes)
Creates a new instrumented type that indicates that it declared the supplied types.
|
InstrumentedType |
InstrumentedType.withNestMembers(TypeList nestMembers)
Creates a new instrumented types with the supplied nest members added to this instrumented type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.WithFlexibleName.withNestMembers(TypeList nestMembers)
Creates a new instrumented types with the supplied nest members added to this instrumented type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Default.withNestMembers(TypeList nestMembers)
Creates a new instrumented types with the supplied nest members added to this instrumented type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Frozen.withNestMembers(TypeList nestMembers)
Creates a new instrumented types with the supplied nest members added to this instrumented type.
|
InstrumentedType |
InstrumentedType.withPermittedSubclasses(TypeList permittedSubclasses)
Creates a new instrumented type that includes the supplied permitted subclasses or unseals the type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.WithFlexibleName.withPermittedSubclasses(TypeList permittedSubclasses)
Creates a new instrumented type that includes the supplied permitted subclasses or unseals the type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Default.withPermittedSubclasses(TypeList permittedSubclasses)
Creates a new instrumented type that includes the supplied permitted subclasses or unseals the type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Frozen.withPermittedSubclasses(TypeList permittedSubclasses)
Creates a new instrumented type that includes the supplied permitted subclasses or unseals the type.
|
Modifier and Type | Method and Description |
---|---|
TypeList |
MethodRebaseResolver.Resolution.getAppendedParameters()
A rebased method might require additional arguments in order to create a distinct signature.
|
TypeList |
MethodRebaseResolver.Resolution.Preserved.getAppendedParameters()
A rebased method might require additional arguments in order to create a distinct signature.
|
TypeList |
MethodRebaseResolver.Resolution.ForRebasedMethod.getAppendedParameters()
A rebased method might require additional arguments in order to create a distinct signature.
|
TypeList |
MethodRebaseResolver.Resolution.ForRebasedConstructor.getAppendedParameters()
A rebased method might require additional arguments in order to create a distinct signature.
|
Modifier and Type | Method and Description |
---|---|
protected static Implementation.SpecialMethodInvocation |
RebaseImplementationTarget.RebasedMethodInvocation.of(MethodDescription.InDefinedShape resolvedMethod,
TypeDescription instrumentedType,
TypeList prependedParameters)
Creates a special method invocation for the given method.
|
Constructor and Description |
---|
RebasedMethodInvocation(MethodDescription.InDefinedShape methodDescription,
TypeDescription instrumentedType,
StackManipulation stackManipulation,
TypeList prependedParameters)
Creates a new rebased method invocation.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
TypePool.Default.LazyTypeDescription.LazyNestMemberList
A lazy list that represents all nest members of the represented type.
|
protected static class |
TypePool.Default.LazyTypeDescription.LazyTypeList
A list that is constructing
TypePool.Default.WithLazyResolution.LazyTypeDescription s. |
Modifier and Type | Method and Description |
---|---|
TypeList |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.LazyRawAnnotatedTypeList.asErasures()
Returns a list of the generic types' erasures.
|
TypeList |
TypePool.Default.LazyTypeDescription.TokenizedGenericType.TokenList.asErasures()
Returns a list of the generic types' erasures.
|
TypeList |
TypePool.Default.LazyTypeDescription.TokenizedGenericType.Malformed.TokenList.asErasures()
Returns a list of the generic types' erasures.
|
TypeList |
TypePool.Default.LazyTypeDescription.getDeclaredTypes()
Returns a list of types that are declared by this type.
|
TypeList |
TypePool.Default.LazyTypeDescription.getNestMembers()
Returns a list of members that are part of a nesting group.
|
TypeList |
TypePool.Default.LazyTypeDescription.getPermittedSubtypes()
Returns the list of permitted direct subclasses if this class is a sealed class.
|
Modifier and Type | Method and Description |
---|---|
TypeList |
JavaConstant.MethodType.getParameterTypes()
Returns the parameter types of this method type.
|
TypeList |
JavaConstant.MethodHandle.getParameterTypes()
Returns the parameter types represented by this instance.
|
Copyright © 2014–2023. All rights reserved.