jdk/test/java/lang/annotation/repeatingAnnotations/subpackage/InheritedContainee.java
changeset 15511 8f45487ac694
parent 15252 68a56b1a7cd0
equal deleted inserted replaced
15510:898d924a7efd 15511:8f45487ac694
     1 /*
     1 /*
     2  * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    25 
    25 
    26 import java.lang.annotation.*;
    26 import java.lang.annotation.*;
    27 
    27 
    28 @Inherited
    28 @Inherited
    29 @Retention(RetentionPolicy.RUNTIME)
    29 @Retention(RetentionPolicy.RUNTIME)
    30 @ContainedBy(InheritedContainer.class)
       
    31 @Repeatable(InheritedContainer.class)
    30 @Repeatable(InheritedContainer.class)
    32 public @interface InheritedContainee {
    31 public @interface InheritedContainee {
    33     int value();
    32     int value();
    34 }
    33 }