@HashCodeAndEqualsPlugin.Enhance public static class TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedTypeVariable extends TypeDescription.Generic.AnnotationReader.Delegator
TypeDescription.Generic.AnnotationReader.Delegator.Chained, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableExceptionType, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableParameterType, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedField, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedInterface, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedRecordComponent, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedSuperClass, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedTypeVariable, TypeDescription.Generic.AnnotationReader.Delegator.Simple
TypeDescription.Generic.AnnotationReader.Delegator, TypeDescription.Generic.AnnotationReader.ForComponentType, TypeDescription.Generic.AnnotationReader.ForOwnerType, TypeDescription.Generic.AnnotationReader.ForTypeArgument, TypeDescription.Generic.AnnotationReader.ForTypeVariableBoundType, TypeDescription.Generic.AnnotationReader.ForWildcardLowerBoundType, TypeDescription.Generic.AnnotationReader.ForWildcardUpperBoundType, TypeDescription.Generic.AnnotationReader.NoOp
Constructor and Description |
---|
ForLoadedTypeVariable(TypeVariable<?> typeVariable)
Creates a new annotation reader for the given type variable.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic.AnnotationReader |
ofTypeVariableBoundType(int index)
Returns a reader for type annotations of a type variable's bound.
|
AnnotatedElement |
resolve()
Resolves the underlying
AnnotatedElement . |
asList, ofComponentType, ofOuterClass, ofOwnerType, ofTypeArgument, ofWildcardLowerBoundType, ofWildcardUpperBoundType
public ForLoadedTypeVariable(TypeVariable<?> typeVariable)
typeVariable
- The represented type variable.public AnnotatedElement resolve()
AnnotatedElement
.public TypeDescription.Generic.AnnotationReader ofTypeVariableBoundType(int index)
ofTypeVariableBoundType
in interface TypeDescription.Generic.AnnotationReader
ofTypeVariableBoundType
in class TypeDescription.Generic.AnnotationReader.Delegator
index
- The bound's index.Copyright © 2014–2023. All rights reserved.