Interface AnnotatedType
- All Superinterfaces:
Type
- All Known Implementing Classes:
AnnotatedTypeImpl
Deprecated.
Represents an annotated type.
For example:
@NonNull String
@Positive int
- Since:
- 1.8
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the annotations associated with this type.Deprecated.Returns the underlying type.Methods inherited from interface Type
asAnnotatedType, asAnnotationTypeDoc, asClassDoc, asParameterizedType, asTypeVariable, asWildcardType, dimension, getElementType, isPrimitive, qualifiedTypeName, simpleTypeName, toString, typeName
-
Method Details
-
annotations
AnnotationDesc[] annotations()Deprecated.Returns the annotations associated with this type.- Returns:
- the annotations associated with this type
-
underlyingType
-
jdk.javadoc.doclet. For more information, see the Migration Guide in the documentation for that package.