APIdia Launch Partner
Top Description Methods
java.lang.reflect

public Interface AnnotatedArrayType

extends AnnotatedType
Known Direct Implementers
sun.reflect.annotation.AnnotatedTypeFactory.AnnotatedArrayTypeImpl

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
Java Language Specification
10.1 Array Types

Method Summary

Modifier and TypeMethod and Description
public AnnotatedType

Returns:

the potentially annotated generic component type of this array type
getAnnotatedGenericComponentType
()

Returns the potentially annotated generic component type of this array type.

public AnnotatedType

Returns:

null
getAnnotatedOwnerType
()

Redeclares as abstract: java.lang.reflect.AnnotatedType.getAnnotatedOwnerType.

Returns the potentially annotated type that this type is a member of, if this type represents a nested class or interface.

Inherited from java.lang.reflect.AnnotatedType:
getAnnotationgetAnnotationsgetDeclaredAnnotationsgetType

Method Detail

getAnnotatedGenericComponentTypeback to summary
public AnnotatedType getAnnotatedGenericComponentType()

Returns the potentially annotated generic component type of this array type.

Returns:AnnotatedType

the potentially annotated generic component type of this array type

See Also
GenericArrayType#getGenericComponentType()
getAnnotatedOwnerTypeback to summary
public AnnotatedType getAnnotatedOwnerType()

Redeclares as abstract: java.lang.reflect.AnnotatedType.getAnnotatedOwnerType.

Returns the potentially annotated type that this type is a member of, if this type represents a nested class or interface. For example, if this type is @TA O<T>.I<S>, return a representation of @TA O<T>.

Returns null for an AnnotatedType that is an instance of AnnotatedArrayType.

Returns:AnnotatedType

null

Annotations
@Override
Since
9