protected static class TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.AnnotatedTypeVariableType extends TypeDescription.Generic.AnnotationReader.Delegator
TypeDescription.Generic.AnnotationReader.Delegator.ChainedTypeDescription.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.NoOpDISPATCHER| Modifier | Constructor and Description |
|---|---|
protected |
AnnotatedTypeVariableType(TypeVariable<?> typeVariable)
Creates a new annotation reader for the given type variable.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
TypeDescription.Generic.AnnotationReader |
ofTypeVariableBoundType(int index)
Returns a reader for type annotations of a type variable's bound.
|
AnnotatedElement |
resolve()
Resolves the underlying
AnnotatedElement. |
String |
toString() |
asList, ofComponentType, ofOuterClass, ofOwnerType, ofTypeArgument, ofWildcardLowerBoundType, ofWildcardUpperBoundTypeprotected AnnotatedTypeVariableType(TypeVariable<?> typeVariable)
typeVariable - The represented type variable.public AnnotatedElement resolve()
TypeDescription.Generic.AnnotationReaderAnnotatedElement.public TypeDescription.Generic.AnnotationReader ofTypeVariableBoundType(int index)
TypeDescription.Generic.AnnotationReaderofTypeVariableBoundType in interface TypeDescription.Generic.AnnotationReaderofTypeVariableBoundType in class TypeDescription.Generic.AnnotationReader.Delegatorindex - The bound's index.Copyright © 2014–2016. All rights reserved.