- All Superinterfaces:
- AnnotatedElement,- AnnotatedType
public interface AnnotatedArrayType extends AnnotatedType
AnnotatedArrayType represents the potentially annotated use of an
 array type, whose component type may itself represent the annotated use of a
 type.- Since:
- 1.8
- 
Method SummaryModifier and Type Method Description AnnotatedTypegetAnnotatedGenericComponentType()Returns the potentially annotated generic component type of this array type.AnnotatedTypegetAnnotatedOwnerType()Returns the potentially annotated type that this type is a member of, if this type represents a nested type.Methods declared in interface java.lang.reflect.AnnotatedElementgetAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, isAnnotationPresent
- 
Method Details- 
getAnnotatedGenericComponentTypeAnnotatedType getAnnotatedGenericComponentType()Returns the potentially annotated generic component type of this array type.- Returns:
- the potentially annotated generic component type of this array type
- See Also:
- GenericArrayType.getGenericComponentType()
 
- 
getAnnotatedOwnerTypeAnnotatedType getAnnotatedOwnerType()Returns the potentially annotated type that this type is a member of, if this type represents a nested type. For example, if this type is@TA O<T>.I<S>, return a representation of@TA O<T>.Returns nullfor anAnnotatedTypethat is an instance ofAnnotatedArrayType.- Specified by:
- getAnnotatedOwnerTypein interface- AnnotatedType
- Returns:
- null
- Since:
- 9
 
 
-