-
- All Superinterfaces:
Type
@Deprecated(since="9", forRemoval=true) public interface AnnotatedType extends Type
Deprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet. For more information, see the Migration Guide in the documentation for that package.Represents an annotated type. For example:@NonNull String@Positive int- Since:
- 1.8
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AnnotationDesc[]annotations()Deprecated, for removal: This API element is subject to removal in a future version.Returns the annotations associated with this type.TypeunderlyingType()Deprecated, for removal: This API element is subject to removal in a future version.Returns the underlying type.-
Methods declared in interface com.sun.javadoc.Type
asAnnotatedType, asAnnotationTypeDoc, asClassDoc, asParameterizedType, asTypeVariable, asWildcardType, dimension, getElementType, isPrimitive, qualifiedTypeName, simpleTypeName, toString, typeName
-
-
-
-
Method Detail
-
annotations
AnnotationDesc[] annotations()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the annotations associated with this type.- Returns:
- the annotations associated with this type
-
underlyingType
Type underlyingType()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the underlying type.- Returns:
- the underlying type
-
-