Package net.bytebuddy.dynamic
Class DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase<W>
- java.lang.Object
-
- net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase<V>
-
- 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 Classes Modifier and Type Class Description protected static class
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase.Adapter<X>
An adapter implementation for an annotatable type variable definition.-
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ImplementationDefinition
DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase<V>, DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>
-
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.TypeVariableDefinition
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.AbstractBase<V>, DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V>
-
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase<W>
-
-
Constructor Summary
Constructors Constructor Description AbstractBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W>
annotateTypeVariable(java.lang.annotation.Annotation... annotation)
Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W>
annotateTypeVariable(java.util.List<? extends java.lang.annotation.Annotation> annotations)
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.-
Methods inherited from class net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.AbstractBase
typeVariable, typeVariable, typeVariable, typeVariable
-
Methods inherited from class net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ImplementationDefinition.AbstractBase
defaultValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.ImplementationDefinition
defaultValue, defaultValue, intercept, withoutCode
-
Methods inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.TypeVariableDefinition
typeVariable, typeVariable, typeVariable, typeVariable, typeVariable
-
Methods inherited from interface net.bytebuddy.dynamic.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable
annotateTypeVariable
-
-
-
-
Method Detail
-
annotateTypeVariable
public DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W> annotateTypeVariable(java.lang.annotation.Annotation... annotation)
Annotates the previously defined type variable with the supplied annotations.- Specified by:
annotateTypeVariable
in 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(java.util.List<? extends java.lang.annotation.Annotation> annotations)
Annotates the previously defined type variable with the supplied annotations.- Specified by:
annotateTypeVariable
in 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:
annotateTypeVariable
in 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.
-
-