Improved build.xml
[vimdoclet.git] / sample / java.lang.annotation.Inherited.txt
blobe5a49c4626735e3c44f14388e78c96dc6bbf87b5
1 *java.lang.annotation.Inherited* *Inherited* Indicates that an annotation type i
3 public interface interface Inherited
5   implements |java.lang.annotation.Annotation|
7 |java.lang.annotation.Inherited_Description|
8 |java.lang.annotation.Inherited_Fields|
9 |java.lang.annotation.Inherited_Constructors|
10 |java.lang.annotation.Inherited_Methods|
12 ================================================================================
14 *java.lang.annotation.Inherited_Description*
16 Indicates that an annotation type is automatically inherited. If an Inherited 
17 meta-annotation is present on an annotation type declaration, and the user 
18 queries the annotation type on a class declaration, and the class declaration 
19 has no annotation for this type, then the class's superclass will automatically 
20 be queried for the annotation type. This process will be repeated until an 
21 annotation for this type is found, or the top of the class hierarchy (Object) 
22 is reached. If no superclass has an annotation for this type, then the query 
23 will indicate that the class in question has no such annotation. 
25 Note that this meta-annotation type has no effect if the annotated type is used 
26 to annotate anything other than a class. Note also that this meta-annotation 
27 only causes annotations to be inherited from superclasses; annotations on 
28 implemented interfaces have no effect.