jdk/src/java.base/share/classes/java/lang/reflect/AnnotatedArrayType.java
changeset 34708 4a1e3728135c
parent 31177 c8ceef082391
child 35302 e4d2275861c3
equal deleted inserted replaced
34707:5866a10ac337 34708:4a1e3728135c
    40      *
    40      *
    41      * @return the potentially annotated generic component type of this array type
    41      * @return the potentially annotated generic component type of this array type
    42      * @see GenericArrayType#getGenericComponentType()
    42      * @see GenericArrayType#getGenericComponentType()
    43      */
    43      */
    44     AnnotatedType  getAnnotatedGenericComponentType();
    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();
    45 }
    60 }