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.inline |
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type. |
Modifier and Type | Class and Description |
---|---|
protected class |
DynamicType.Builder.AbstractBase.Adapter.TypeVariableDefinitionAdapter
An adapter for defining a new type variable for the instrumented type.
|
static class |
DynamicType.Builder.TypeVariableDefinition.AbstractBase<U>
An abstract base implementation of a type variable definition.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.TypeVariableDefinition<S> |
DynamicType.Builder.TypeVariableDefinition.annotateTypeVariable(java.lang.annotation.Annotation... annotation)
Annotates the previously defined type variable with the supplied annotations.
|
DynamicType.Builder.TypeVariableDefinition<U> |
DynamicType.Builder.TypeVariableDefinition.AbstractBase.annotateTypeVariable(java.lang.annotation.Annotation... annotation)
Annotates the previously defined type variable with the supplied annotations.
|
DynamicType.Builder.TypeVariableDefinition<S> |
DynamicType.Builder.TypeVariableDefinition.annotateTypeVariable(AnnotationDescription... annotation)
Annotates the previously defined type variable with the supplied annotations.
|
DynamicType.Builder.TypeVariableDefinition<U> |
DynamicType.Builder.TypeVariableDefinition.AbstractBase.annotateTypeVariable(AnnotationDescription... annotation)
Annotates the previously defined type variable with the supplied annotations.
|
DynamicType.Builder.TypeVariableDefinition<S> |
DynamicType.Builder.TypeVariableDefinition.annotateTypeVariable(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined type variable with the supplied annotations.
|
DynamicType.Builder.TypeVariableDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.TypeVariableDefinitionAdapter.annotateTypeVariable(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined type variable with the supplied annotations.
|
DynamicType.Builder.TypeVariableDefinition<S> |
DynamicType.Builder.TypeVariableDefinition.annotateTypeVariable(java.util.List<? extends java.lang.annotation.Annotation> annotations)
Annotates the previously defined type variable with the supplied annotations.
|
DynamicType.Builder.TypeVariableDefinition<U> |
DynamicType.Builder.TypeVariableDefinition.AbstractBase.annotateTypeVariable(java.util.List<? extends java.lang.annotation.Annotation> annotations)
Annotates the previously defined type variable with the supplied annotations.
|
DynamicType.Builder.TypeVariableDefinition<T> |
DynamicType.Builder.typeVariable(java.lang.String symbol)
Defines the supplied type variable without any bounds as a type variable of the instrumented type.
|
DynamicType.Builder.TypeVariableDefinition<S> |
DynamicType.Builder.AbstractBase.typeVariable(java.lang.String symbol)
Defines the supplied type variable without any bounds as a type variable of the instrumented type.
|
DynamicType.Builder.TypeVariableDefinition<T> |
DynamicType.Builder.typeVariable(java.lang.String symbol,
java.util.Collection<? extends TypeDefinition> bounds)
Defines the supplied type variable with the given bound as a type variable of the instrumented type.
|
DynamicType.Builder.TypeVariableDefinition<U> |
DynamicType.Builder.AbstractBase.Delegator.typeVariable(java.lang.String symbol,
java.util.Collection<? extends TypeDefinition> bounds)
Defines the supplied type variable with the given bound as a type variable of the instrumented type.
|
DynamicType.Builder.TypeVariableDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.typeVariable(java.lang.String symbol,
java.util.Collection<? extends TypeDefinition> bounds)
Defines the supplied type variable with the given bound as a type variable of the instrumented type.
|
DynamicType.Builder.TypeVariableDefinition<T> |
DynamicType.Builder.typeVariable(java.lang.String symbol,
java.util.List<? extends java.lang.reflect.Type> bounds)
Defines the supplied type variable with the given bound as a type variable of the instrumented type.
|
DynamicType.Builder.TypeVariableDefinition<S> |
DynamicType.Builder.AbstractBase.typeVariable(java.lang.String symbol,
java.util.List<? extends java.lang.reflect.Type> bounds)
Defines the supplied type variable with the given bound as a type variable of the instrumented type.
|
DynamicType.Builder.TypeVariableDefinition<T> |
DynamicType.Builder.typeVariable(java.lang.String symbol,
java.lang.reflect.Type... bound)
Defines the supplied type variable with the given bound as a type variable of the instrumented type.
|
DynamicType.Builder.TypeVariableDefinition<S> |
DynamicType.Builder.AbstractBase.typeVariable(java.lang.String symbol,
java.lang.reflect.Type... bound)
Defines the supplied type variable with the given bound as a type variable of the instrumented type.
|
DynamicType.Builder.TypeVariableDefinition<T> |
DynamicType.Builder.typeVariable(java.lang.String symbol,
TypeDefinition... bound)
Defines the supplied type variable with the given bound as a type variable of the instrumented type.
|
DynamicType.Builder.TypeVariableDefinition<S> |
DynamicType.Builder.AbstractBase.typeVariable(java.lang.String symbol,
TypeDefinition... bound)
Defines the supplied type variable with the given bound as a type variable of the instrumented type.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.TypeVariableDefinition<T> |
DecoratingDynamicTypeBuilder.typeVariable(java.lang.String symbol,
java.util.Collection<? extends TypeDefinition> bounds)
Defines the supplied type variable with the given bound as a type variable of the instrumented type.
|