W
- A loaded type that the built type is guaranteed to be a subclass of.public abstract static class DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase<W> extends DynamicType.Builder.MethodDefinition.TypeVariableDefinition.AbstractBase<W> implements DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W>
Modifier and Type | Class and Description |
---|---|
protected static class |
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase.Adapter<X>
An adapter implementation for an annotatable type variable definition.
|
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase<W>
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V>
DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>
Constructor and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W> |
annotateTypeVariable(Annotation... annotation)
Annotates the previously defined type variable with the supplied annotations.
|
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W> |
annotateTypeVariable(AnnotationDescription... annotation)
Annotates the previously defined type variable with the supplied annotations.
|
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W> |
annotateTypeVariable(List<? extends Annotation> annotations)
Annotates the previously defined type variable with the supplied annotations.
|
typeVariable, typeVariable, typeVariable, typeVariable
defaultValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
annotateTypeVariable
typeVariable, typeVariable, typeVariable, typeVariable, typeVariable
defaultValue, defaultValue, intercept, withoutCode
public DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W> annotateTypeVariable(Annotation... annotation)
annotateTypeVariable
in interface DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W>
annotation
- The annotations to declare on the previously defined type variable.public DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W> annotateTypeVariable(List<? extends Annotation> annotations)
annotateTypeVariable
in interface DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W>
annotations
- The annotations to declare on the previously defined type variable.public DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W> annotateTypeVariable(AnnotationDescription... annotation)
annotateTypeVariable
in interface DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W>
annotation
- The annotations to declare on the previously defined type variable.Copyright © 2014–2025. All rights reserved.