36 public interface AnnotatedArrayType extends AnnotatedType {
37
38 /**
39 * Returns the potentially annotated generic component type of this array type.
40 *
41 * @return the potentially annotated generic component type of this array type
42 * @see GenericArrayType#getGenericComponentType()
43 */
44 AnnotatedType getAnnotatedGenericComponentType();
45
46 /**
47 * Returns the potentially annotated type that this type is a member of, if
48 * this type represents a nested type. For example, if this type is
49 * {@code @TA O<T>.I<S>}, return a representation of {@code @TA O<T>}.
50 *
51 * <p>Returns {@code null} for an {@code AnnotatedType} that is an instance
52 * of {@code AnnotatedArrayType}.
53 *
54 * @return {@code null}
55 *
56 * @since 1.9
57 */
58 @Override
59 AnnotatedType getAnnotatedOwnerType();
60 }
|
36 public interface AnnotatedArrayType extends AnnotatedType {
37
38 /**
39 * Returns the potentially annotated generic component type of this array type.
40 *
41 * @return the potentially annotated generic component type of this array type
42 * @see GenericArrayType#getGenericComponentType()
43 */
44 AnnotatedType getAnnotatedGenericComponentType();
45
46 /**
47 * Returns the potentially annotated type that this type is a member of, if
48 * this type represents a nested type. For example, if this type is
49 * {@code @TA O<T>.I<S>}, return a representation of {@code @TA O<T>}.
50 *
51 * <p>Returns {@code null} for an {@code AnnotatedType} that is an instance
52 * of {@code AnnotatedArrayType}.
53 *
54 * @return {@code null}
55 *
56 * @since 9
57 */
58 @Override
59 AnnotatedType getAnnotatedOwnerType();
60 }
|