S
- A loaded type that the built type is guaranteed to be a subclass of.public static interface DynamicType.Builder.TypeVariableDefinition<S> extends DynamicType.Builder<S>
Modifier and Type | Interface and Description |
---|---|
static class |
DynamicType.Builder.TypeVariableDefinition.AbstractBase<U>
An abstract base implementation of a type variable definition.
|
DynamicType.Builder.FieldDefinition<S>, DynamicType.Builder.InnerTypeDefinition<S>, DynamicType.Builder.MethodDefinition<S>, DynamicType.Builder.RecordComponentDefinition<S>, DynamicType.Builder.TypeVariableDefinition<S>
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.TypeVariableDefinition<S> |
annotateTypeVariable(Annotation... annotation)
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.
|
DynamicType.Builder.TypeVariableDefinition<S> |
annotateTypeVariable(Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined type variable with the supplied annotations.
|
DynamicType.Builder.TypeVariableDefinition<S> |
annotateTypeVariable(List<? extends Annotation> annotations)
Annotates the previously defined type variable with the supplied annotations.
|
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, recordComponent, recordComponent, require, require, require, require, serialVersionUid, suffix, topLevelType, toTypeDescription, transform, typeVariable, typeVariable, typeVariable, typeVariable, typeVariable, visit, withHashCodeEquals, withToString
DynamicType.Builder.TypeVariableDefinition<S> annotateTypeVariable(Annotation... annotation)
annotation
- The annotations to declare on the previously defined type variable.DynamicType.Builder.TypeVariableDefinition<S> annotateTypeVariable(List<? extends Annotation> annotations)
annotations
- The annotations to declare on the previously defined type variable.DynamicType.Builder.TypeVariableDefinition<S> annotateTypeVariable(AnnotationDescription... annotation)
annotation
- The annotations to declare on the previously defined type variable.DynamicType.Builder.TypeVariableDefinition<S> annotateTypeVariable(Collection<? extends AnnotationDescription> annotations)
annotations
- The annotations to declare on the previously defined type variable.Copyright © 2014–2020. All rights reserved.