@HashCodeAndEqualsPlugin.Enhance protected static class TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.AnnotatedTypeVariableType extends TypeDescription.Generic.AnnotationReader.Delegator
TypeDescription.Generic.AnnotationReader.Delegator.Chained
TypeDescription.Generic.AnnotationReader.Delegator, TypeDescription.Generic.AnnotationReader.Dispatcher, 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
NO_ARGUMENTS
DISPATCHER
Modifier | Constructor and Description |
---|---|
protected |
AnnotatedTypeVariableType(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
protected AnnotatedTypeVariableType(TypeVariable<?> typeVariable)
typeVariable
- The represented type variable.public AnnotatedElement resolve()
TypeDescription.Generic.AnnotationReader
AnnotatedElement
.public TypeDescription.Generic.AnnotationReader ofTypeVariableBoundType(int index)
TypeDescription.Generic.AnnotationReader
ofTypeVariableBoundType
in interface TypeDescription.Generic.AnnotationReader
ofTypeVariableBoundType
in class TypeDescription.Generic.AnnotationReader.Delegator
index
- The bound's index.Copyright © 2014–2018. All rights reserved.