V
- A loaded type that the built type is guaranteed to be a subclass of.public static interface DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> extends DynamicType.Builder.MethodDefinition.TypeVariableDefinition<V>
Modifier and Type | Interface and Description |
---|---|
static class |
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase<W>
An abstract base implementation for defining an annotation on a parameter.
|
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V>
DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> |
annotateTypeVariable(Annotation... annotation)
Annotates the previously defined type variable with the supplied annotations.
|
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> |
annotateTypeVariable(AnnotationDescription... annotation)
Annotates the previously defined type variable with the supplied annotations.
|
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> |
annotateTypeVariable(Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined type variable with the supplied annotations.
|
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> |
annotateTypeVariable(List<? extends Annotation> annotations)
Annotates the previously defined type variable with the supplied annotations.
|
typeVariable, typeVariable, typeVariable, typeVariable, typeVariable
defaultValue, defaultValue, intercept, withoutCode
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> annotateTypeVariable(Annotation... annotation)
annotation
- The annotations to declare on the previously defined type variable.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> annotateTypeVariable(List<? extends Annotation> annotations)
annotations
- The annotations to declare on the previously defined type variable.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> annotateTypeVariable(AnnotationDescription... annotation)
annotation
- The annotations to declare on the previously defined type variable.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V> annotateTypeVariable(Collection<? extends AnnotationDescription> annotations)
annotations
- The annotations to declare on the previously defined type variable.Copyright © 2014–2017. All rights reserved.