| Package | Description |
|---|---|
| net.bytebuddy.description.method |
Contains descriptions of Java methods and constructors as well as their parameters.
|
| net.bytebuddy.description.type |
Contains descriptions of Java types and packages.
|
| net.bytebuddy.description.type.generic |
Contains descriptions for generic types as defined in the Java programming language.
|
| 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 |
The implementation package contains any logic for intercepting method calls.
|
| net.bytebuddy.matcher |
Contains an API for matching Java byte code entities.
|
| net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescriptions without
loading any classes. |
| Modifier and Type | Method and Description |
|---|---|
GenericTypeList |
ParameterList.asTypeList()
Transforms this list of parameters into a list of the types of the represented parameters.
|
GenericTypeList |
ParameterList.AbstractBase.asTypeList() |
GenericTypeList |
ParameterList.ForLoadedExecutable.asTypeList() |
GenericTypeList |
ParameterList.ForLoadedExecutable.OfLegacyVmMethod.asTypeList() |
GenericTypeList |
ParameterList.ForLoadedExecutable.OfLegacyVmConstructor.asTypeList() |
GenericTypeList |
ParameterList.Empty.asTypeList() |
GenericTypeList |
MethodDescription.getExceptionTypes()
Returns the exception types of the described method.
|
GenericTypeList |
MethodDescription.ForLoadedConstructor.getExceptionTypes() |
GenericTypeList |
MethodDescription.ForLoadedMethod.getExceptionTypes() |
GenericTypeList |
MethodDescription.Latent.getExceptionTypes() |
GenericTypeList |
MethodDescription.Latent.TypeInitializer.getExceptionTypes() |
GenericTypeList |
MethodDescription.TypeSubstituting.getExceptionTypes() |
GenericTypeList |
MethodDescription.Token.getExceptionTypes()
Returns the exception types of the represented method.
|
GenericTypeList |
MethodDescription.ForLoadedConstructor.getTypeVariables() |
GenericTypeList |
MethodDescription.ForLoadedMethod.getTypeVariables() |
GenericTypeList |
MethodDescription.Latent.getTypeVariables() |
GenericTypeList |
MethodDescription.Latent.TypeInitializer.getTypeVariables() |
GenericTypeList |
MethodDescription.TypeSubstituting.getTypeVariables() |
GenericTypeList |
MethodDescription.Token.getTypeVariables()
Returns the type variables of the the represented method.
|
GenericTypeList |
MethodDescription.TypeSubstituting.VariableRetainingDelegator.RetainedVariable.getUpperBounds() |
| Modifier and Type | Field and Description |
|---|---|
static GenericTypeList |
TypeDescription.ARRAY_INTERFACES
A list of interfaces that are implicitly implemented by any array type.
|
| Modifier and Type | Method and Description |
|---|---|
GenericTypeList |
TypeList.accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Transforms the types of this list by applying the supplied visitor.
|
GenericTypeList |
TypeList.AbstractBase.accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor) |
GenericTypeList |
TypeList.Empty.accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor) |
GenericTypeList |
TypeList.asGenericTypes()
Represents this list of types into a list of generic types.
|
GenericTypeList |
TypeList.ForLoadedType.asGenericTypes() |
GenericTypeList |
TypeList.Explicit.asGenericTypes() |
GenericTypeList |
TypeList.Empty.asGenericTypes() |
protected abstract GenericTypeList |
TypeDescription.AbstractBase.getDeclaredInterfaces()
Returns the declared interface types in the form they are declared in the class file.
|
GenericTypeList |
TypeDescription.ForLoadedType.getDeclaredInterfaces() |
protected GenericTypeList |
TypeDescription.ArrayProjection.getDeclaredInterfaces() |
protected GenericTypeList |
TypeDescription.Latent.getDeclaredInterfaces() |
protected GenericTypeList |
TypeDescription.ForPackageDescription.getDeclaredInterfaces() |
GenericTypeList |
TypeDescription.AbstractBase.getInterfaces() |
GenericTypeList |
TypeDescription.AbstractBase.getLowerBounds() |
GenericTypeList |
TypeDescription.AbstractBase.getParameters() |
GenericTypeList |
TypeDescription.ForLoadedType.getTypeVariables() |
GenericTypeList |
TypeDescription.ArrayProjection.getTypeVariables() |
GenericTypeList |
TypeDescription.Latent.getTypeVariables() |
GenericTypeList |
TypeDescription.ForPackageDescription.getTypeVariables() |
GenericTypeList |
TypeDescription.AbstractBase.getUpperBounds() |
GenericTypeList |
TypeDescription.AbstractBase.RawTypeWrapper.RawTypeVariable.getUpperBounds() |
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericTypeList.AbstractBase
An abstract base implementation of a generic type list.
|
static class |
GenericTypeList.Empty
An empty list of generic types.
|
static class |
GenericTypeList.Explicit
An explicit list of generic types.
|
static class |
GenericTypeList.ForDetachedTypes
A list of detached types that are attached on reception.
|
static class |
GenericTypeList.ForDetachedTypes.OfTypeVariable
A list of type variables that are attached on reception.
|
static class |
GenericTypeList.ForLoadedType
A list of loaded generic types.
|
static class |
GenericTypeList.OfConstructorExceptionTypes
A lazy projection of a constructor's exception types.
|
static class |
GenericTypeList.OfLoadedInterfaceTypes
A lazy projection of a type's generic interface types.
|
static class |
GenericTypeList.OfMethodExceptionTypes
A lazy projection of a method's exception types.
|
| Modifier and Type | Method and Description |
|---|---|
GenericTypeList |
GenericTypeList.accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Transforms the generic types by applying the supplied visitor to each of them.
|
GenericTypeList |
GenericTypeList.AbstractBase.accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor) |
GenericTypeList |
GenericTypeList.Empty.accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor) |
static GenericTypeList |
GenericTypeList.ForDetachedTypes.attach(FieldDescription fieldDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of types that are attached to the provided field.
|
static GenericTypeList |
GenericTypeList.ForDetachedTypes.attach(MethodDescription methodDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of types that are attached to the provided method.
|
static GenericTypeList |
GenericTypeList.ForDetachedTypes.OfTypeVariable.attach(MethodDescription methodDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of detached type variables that are attached on reception.
|
static GenericTypeList |
GenericTypeList.ForDetachedTypes.attach(ParameterDescription parameterDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of types that are attached to the provided parameter.
|
static GenericTypeList |
GenericTypeList.ForDetachedTypes.attach(TypeDescription typeDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of types that are attached to the provided type.
|
static GenericTypeList |
GenericTypeList.ForDetachedTypes.OfTypeVariable.attach(TypeDescription typeDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of detached type variables that are attached on reception.
|
GenericTypeList |
GenericTypeDescription.getInterfaces()
Returns the generic interface types of this type.
|
GenericTypeList |
GenericTypeDescription.ForNonGenericType.getInterfaces() |
GenericTypeList |
GenericTypeDescription.ForGenericArray.getInterfaces() |
GenericTypeList |
GenericTypeDescription.ForWildcardType.getInterfaces() |
GenericTypeList |
GenericTypeDescription.ForParameterizedType.getInterfaces() |
GenericTypeList |
GenericTypeDescription.ForTypeVariable.getInterfaces() |
GenericTypeList |
GenericTypeDescription.LazyProjection.getInterfaces() |
GenericTypeList |
GenericTypeDescription.getLowerBounds()
Returns the lower bounds of this type.
|
GenericTypeList |
GenericTypeDescription.ForNonGenericType.getLowerBounds() |
GenericTypeList |
GenericTypeDescription.ForGenericArray.getLowerBounds() |
GenericTypeList |
GenericTypeDescription.ForWildcardType.OfLoadedType.getLowerBounds() |
GenericTypeList |
GenericTypeDescription.ForWildcardType.Latent.getLowerBounds() |
GenericTypeList |
GenericTypeDescription.ForParameterizedType.getLowerBounds() |
GenericTypeList |
GenericTypeDescription.ForTypeVariable.getLowerBounds() |
GenericTypeList |
GenericTypeDescription.LazyProjection.getLowerBounds() |
GenericTypeList |
GenericTypeDescription.getParameters()
Returns the type parameters of this type.
|
GenericTypeList |
GenericTypeDescription.ForNonGenericType.getParameters() |
GenericTypeList |
GenericTypeDescription.ForGenericArray.getParameters() |
GenericTypeList |
GenericTypeDescription.ForWildcardType.getParameters() |
GenericTypeList |
GenericTypeDescription.ForParameterizedType.OfLoadedType.getParameters() |
GenericTypeList |
GenericTypeDescription.ForParameterizedType.Latent.getParameters() |
GenericTypeList |
GenericTypeDescription.ForTypeVariable.getParameters() |
GenericTypeList |
GenericTypeDescription.LazyProjection.getParameters() |
GenericTypeList |
TypeVariableSource.getTypeVariables()
Returns the type variables that are declared by this element.
|
GenericTypeList |
GenericTypeList.ForDetachedTypes.OfTypeVariable.LazyTypeVariable.getUpperBounds() |
GenericTypeList |
GenericTypeDescription.getUpperBounds()
Returns the upper bounds of this type.
|
GenericTypeList |
GenericTypeDescription.Visitor.Substitutor.ForDetachment.DetachedTypeVariable.getUpperBounds() |
GenericTypeList |
GenericTypeDescription.ForNonGenericType.getUpperBounds() |
GenericTypeList |
GenericTypeDescription.ForGenericArray.getUpperBounds() |
GenericTypeList |
GenericTypeDescription.ForWildcardType.OfLoadedType.getUpperBounds() |
GenericTypeList |
GenericTypeDescription.ForWildcardType.Latent.getUpperBounds() |
GenericTypeList |
GenericTypeDescription.ForParameterizedType.getUpperBounds() |
GenericTypeList |
GenericTypeDescription.ForTypeVariable.OfLoadedType.getUpperBounds() |
GenericTypeList |
GenericTypeDescription.LazyProjection.getUpperBounds() |
protected GenericTypeList |
GenericTypeList.AbstractBase.wrap(List<GenericTypeDescription> values) |
| Modifier and Type | Method and Description |
|---|---|
GenericTypeList |
MethodTransformer.Simple.TransformedMethod.getExceptionTypes() |
GenericTypeList |
MethodTransformer.Simple.TransformedMethod.getTypeVariables() |
| Modifier and Type | Method and Description |
|---|---|
protected GenericTypeList |
InstrumentedType.Default.getDeclaredInterfaces() |
GenericTypeList |
TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge.getExceptionTypes() |
GenericTypeList |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge.getExceptionTypes() |
GenericTypeList |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget.getExceptionTypes() |
GenericTypeList |
TypeWriter.Default.ForInlining.TypeInitializerDelegate.getExceptionTypes() |
GenericTypeList |
TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge.getTypeVariables() |
GenericTypeList |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge.getTypeVariables() |
GenericTypeList |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget.getTypeVariables() |
GenericTypeList |
TypeWriter.Default.ForInlining.TypeInitializerDelegate.getTypeVariables() |
GenericTypeList |
InstrumentedType.Default.getTypeVariables() |
| Modifier and Type | Method and Description |
|---|---|
GenericTypeList |
MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod.getExceptionTypes() |
GenericTypeList |
MethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor.getExceptionTypes() |
GenericTypeList |
MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod.getTypeVariables() |
GenericTypeList |
MethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor.getTypeVariables() |
| Modifier and Type | Method and Description |
|---|---|
GenericTypeList |
Implementation.Context.Default.AccessorMethod.getExceptionTypes() |
GenericTypeList |
Implementation.Context.Default.FieldGetter.getExceptionTypes() |
GenericTypeList |
Implementation.Context.Default.FieldSetter.getExceptionTypes() |
GenericTypeList |
Implementation.Context.Default.AccessorMethod.getTypeVariables() |
GenericTypeList |
Implementation.Context.Default.FieldGetter.getTypeVariables() |
GenericTypeList |
Implementation.Context.Default.FieldSetter.getTypeVariables() |
| Constructor and Description |
|---|
MethodExceptionTypeMatcher(ElementMatcher<? super GenericTypeList> exceptionMatcher)
Creates a new matcher for a method's exceptions.
|
| Modifier and Type | Method and Description |
|---|---|
protected GenericTypeList |
TypePool.LazyFacade.LazyResolution.LazyTypeDescription.getDeclaredInterfaces() |
protected GenericTypeList |
TypePool.LazyTypeDescription.getDeclaredInterfaces() |
GenericTypeList |
TypePool.LazyFacade.LazyResolution.LazyTypeDescription.getInterfaces() |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested.LazyParameterizedType.getParameters() |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.ForParameterizedType.LazyParameterizedType.getParameters() |
GenericTypeList |
TypePool.LazyFacade.LazyResolution.LazyTypeDescription.getTypeVariables() |
GenericTypeList |
TypePool.LazyTypeDescription.getTypeVariables() |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal.LazyTypeVariable.getUpperBounds() |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveExceptionTypes(List<String> exceptionTypeDescriptors,
TypePool typePool,
MethodDescription definingMethod) |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveExceptionTypes(List<String> exceptionTypeDescriptors,
TypePool typePool,
MethodDescription definingMethod) |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.resolveExceptionTypes(List<String> exceptionTypeDescriptors,
TypePool typePool,
MethodDescription definingMethod)
Resolves the generic parameter types of the represented method.
|
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized.resolveExceptionTypes(List<String> exceptionTypeDescriptors,
TypePool typePool,
MethodDescription definingMethod) |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveInterfaceTypes(List<String> interfaceTypeDescriptors,
TypePool typePool,
TypeDescription definingType) |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveInterfaceTypes(List<String> interfaceTypeDescriptors,
TypePool typePool,
TypeDescription definingType) |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForType.resolveInterfaceTypes(List<String> interfaceTypeDescriptors,
TypePool typePool,
TypeDescription definingType)
Resolves the generic interface types of the represented type.
|
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized.resolveInterfaceTypes(List<String> interfaceTypeDescriptors,
TypePool typePool,
TypeDescription definingType) |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveParameterTypes(List<String> parameterTypeDescriptors,
TypePool typePool,
MethodDescription definingMethod) |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveParameterTypes(List<String> parameterTypeDescriptors,
TypePool typePool,
MethodDescription definingMethod) |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.resolveParameterTypes(List<String> parameterTypeDescriptors,
TypePool typePool,
MethodDescription definingMethod)
Resolves the generic parameter types of the represented method.
|
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized.resolveParameterTypes(List<String> parameterTypeDescriptors,
TypePool typePool,
MethodDescription definingMethod) |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource)
Resolves the type variables of the represented element.
|
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized.resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeList |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized.resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource) |
Copyright © 2014–2015. All rights reserved.