Package net.bytebuddy.dynamic
Interface DynamicType.Builder.TypeVariableDefinition<S>
-
- Type Parameters:
S
- A loaded type that the built type is guaranteed to be a subclass of.
- All Superinterfaces:
DynamicType.Builder<S>
- All Known Implementing Classes:
DynamicType.Builder.AbstractBase.Adapter.TypeVariableDefinitionAdapter
,DynamicType.Builder.TypeVariableDefinition.AbstractBase
- Enclosing interface:
- DynamicType.Builder<T>
public static interface DynamicType.Builder.TypeVariableDefinition<S> extends DynamicType.Builder<S>
A builder for a type variable definition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DynamicType.Builder.TypeVariableDefinition.AbstractBase<U>
An abstract base implementation of a type variable definition.-
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.DynamicType.Builder
DynamicType.Builder.FieldDefinition<S>, DynamicType.Builder.InnerTypeDefinition<S>, DynamicType.Builder.MethodDefinition<S>, DynamicType.Builder.RecordComponentDefinition<S>, DynamicType.Builder.TypeVariableDefinition<S>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DynamicType.Builder.TypeVariableDefinition<S>
annotateTypeVariable(java.lang.annotation.Annotation... annotation)
Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.TypeVariableDefinition<S>
annotateTypeVariable(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.TypeVariableDefinition<S>
annotateTypeVariable(java.util.List<? extends java.lang.annotation.Annotation> annotations)
Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.TypeVariableDefinition<S>
annotateTypeVariable(AnnotationDescription... annotation)
Annotates the previously defined type variable with the supplied annotations.-
Methods inherited from interface net.bytebuddy.dynamic.DynamicType.Builder
annotateType, annotateType, annotateType, annotateType, attribute, constructor, declaredTypes, declaredTypes, declaredTypes, declaredTypes, define, define, define, define, define, define, defineConstructor, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineProperty, defineProperty, defineProperty, defineProperty, defineRecordComponent, defineRecordComponent, field, field, ignoreAlso, ignoreAlso, implement, implement, implement, implement, initializer, initializer, innerTypeOf, innerTypeOf, innerTypeOf, innerTypeOf, innerTypeOf, invokable, invokable, make, make, make, make, merge, merge, method, modifiers, modifiers, modifiers, name, nestHost, nestHost, nestMembers, nestMembers, nestMembers, nestMembers, noNestMate, permittedSubclass, permittedSubclass, permittedSubclass, permittedSubclass, recordComponent, recordComponent, require, require, require, require, serialVersionUid, suffix, topLevelType, toTypeDescription, transform, typeVariable, typeVariable, typeVariable, typeVariable, typeVariable, unsealed, visit, withHashCodeEquals, withToString
-
-
-
-
Method Detail
-
annotateTypeVariable
DynamicType.Builder.TypeVariableDefinition<S> annotateTypeVariable(java.lang.annotation.Annotation... annotation)
Annotates the previously defined type variable with the supplied annotations.- Parameters:
annotation
- The annotations to declare on the previously defined type variable.- Returns:
- A new builder that is equal to this builder but with the given annotations declared on the previously defined type variable.
-
annotateTypeVariable
DynamicType.Builder.TypeVariableDefinition<S> annotateTypeVariable(java.util.List<? extends java.lang.annotation.Annotation> annotations)
Annotates the previously defined type variable with the supplied annotations.- Parameters:
annotations
- The annotations to declare on the previously defined type variable.- Returns:
- A new builder that is equal to this builder but with the given annotations declared on the previously defined type variable.
-
annotateTypeVariable
DynamicType.Builder.TypeVariableDefinition<S> annotateTypeVariable(AnnotationDescription... annotation)
Annotates the previously defined type variable with the supplied annotations.- Parameters:
annotation
- The annotations to declare on the previously defined type variable.- Returns:
- A new builder that is equal to this builder but with the given annotations declared on the previously defined type variable.
-
annotateTypeVariable
DynamicType.Builder.TypeVariableDefinition<S> annotateTypeVariable(java.util.Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined type variable with the supplied annotations.- Parameters:
annotations
- The annotations to declare on the previously defined type variable.- Returns:
- A new builder that is equal to this builder but with the given annotations declared on the previously defined type variable.
-
-