public interface AnnotatedParameterizedType extends AnnotatedType
AnnotatedParameterizedType represents the potentially annotated use
of a parameterized type, whose type arguments may themselves represent
annotated uses of types.| Modifier and Type | Method and Description |
|---|---|
AnnotatedType[] |
getAnnotatedActualTypeArguments()
Returns the potentially annotated actual type arguments of this parameterized type.
|
AnnotatedType |
getAnnotatedOwnerType()
Returns the potentially annotated type that this type is a member of, if
this type represents a nested type.
|
getTypegetAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, isAnnotationPresentAnnotatedType[] getAnnotatedActualTypeArguments()
ParameterizedType.getActualTypeArguments()AnnotatedType getAnnotatedOwnerType()
@TA O<T>.I<S>, return a representation of @TA O<T>.
Returns null if this AnnotatedType represents a
top-level type, or a local or anonymous class, or a primitive type, or
void.
getAnnotatedOwnerType in interface AnnotatedTypeAnnotatedType object representing the potentially
annotated type that this type is a member of, or nullTypeNotPresentException - if the owner type
refers to a non-existent type declarationMalformedParameterizedTypeException - if the owner type
refers to a parameterized type that cannot be instantiated
for any reason Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait