37 /**
38 * Returns the potentially annotated bounds of this type variable.
39 * If no bound is explicitly declared, the bound is unannotated
40 * {@code Object}.
41 *
42 * @return the potentially annotated bounds of this type variable
43 * @see TypeVariable#getBounds()
44 */
45 AnnotatedType[] getAnnotatedBounds();
46
47 /**
48 * Returns the potentially annotated type that this type is a member of, if
49 * this type represents a nested type. For example, if this type is
50 * {@code @TA O<T>.I<S>}, return a representation of {@code @TA O<T>}.
51 *
52 * <p>Returns {@code null} for an {@code AnnotatedType} that is an instance
53 * of {@code AnnotatedTypeVariable}.
54 *
55 * @return {@code null}
56 *
57 * @since 1.9
58 */
59 @Override
60 AnnotatedType getAnnotatedOwnerType();
61 }
|
37 /**
38 * Returns the potentially annotated bounds of this type variable.
39 * If no bound is explicitly declared, the bound is unannotated
40 * {@code Object}.
41 *
42 * @return the potentially annotated bounds of this type variable
43 * @see TypeVariable#getBounds()
44 */
45 AnnotatedType[] getAnnotatedBounds();
46
47 /**
48 * Returns the potentially annotated type that this type is a member of, if
49 * this type represents a nested type. For example, if this type is
50 * {@code @TA O<T>.I<S>}, return a representation of {@code @TA O<T>}.
51 *
52 * <p>Returns {@code null} for an {@code AnnotatedType} that is an instance
53 * of {@code AnnotatedTypeVariable}.
54 *
55 * @return {@code null}
56 *
57 * @since 9
58 */
59 @Override
60 AnnotatedType getAnnotatedOwnerType();
61 }
|