Class DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase<W>
java.lang.Object
net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase<W>
net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.AbstractBase<W>
net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase<W>
- Type Parameters:
W- A loaded type that the built type is guaranteed to be a subclass of.
- All Implemented Interfaces:
DynamicType.Builder.MethodDefinition.ImplementationDefinition<W>, DynamicType.Builder.MethodDefinition.TypeVariableDefinition<W>, DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W>
- Direct Known Subclasses:
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase.Adapter
- Enclosing interface:
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V>
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>
An abstract base implementation for defining an annotation on a parameter.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classAn adapter implementation for an annotatable type variable definition.Nested classes/interfaces inherited from interface DynamicType.Builder.MethodDefinition.ImplementationDefinition
DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase<V>, DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>Nested classes/interfaces inherited from interface DynamicType.Builder.MethodDefinition.TypeVariableDefinition
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.AbstractBase<V>, DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V>Nested classes/interfaces inherited from interface DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase<W> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotateTypeVariable(Annotation... annotation) Annotates the previously defined type variable with the supplied annotations.annotateTypeVariable(List<? extends Annotation> annotations) Annotates the previously defined type variable with the supplied annotations.annotateTypeVariable(AnnotationDescription... annotation) Annotates the previously defined type variable with the supplied annotations.Methods inherited from class DynamicType.Builder.MethodDefinition.TypeVariableDefinition.AbstractBase
typeVariable, typeVariable, typeVariable, typeVariableMethods inherited from class DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase
defaultValueMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DynamicType.Builder.MethodDefinition.ImplementationDefinition
defaultValue, defaultValue, intercept, withoutCodeMethods inherited from interface DynamicType.Builder.MethodDefinition.TypeVariableDefinition
typeVariable, typeVariable, typeVariable, typeVariable, typeVariableMethods inherited from interface DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable
annotateTypeVariable
-
Constructor Details
-
AbstractBase
public AbstractBase()
-
-
Method Details
-
annotateTypeVariable
public DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W> annotateTypeVariable(Annotation... annotation) Annotates the previously defined type variable with the supplied annotations.- Specified by:
annotateTypeVariablein interfaceDynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W>- 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
public DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W> annotateTypeVariable(List<? extends Annotation> annotations) Annotates the previously defined type variable with the supplied annotations.- Specified by:
annotateTypeVariablein interfaceDynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W>- 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
public DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W> annotateTypeVariable(AnnotationDescription... annotation) Annotates the previously defined type variable with the supplied annotations.- Specified by:
annotateTypeVariablein interfaceDynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W>- 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.
-