fixed some formatting typos
[vimdoclet.git] / sample / java.lang.annotation.Inherited.txt
blobba8c84e577d899f9b8216a628b3bf547c4e9734d
1 *java.lang.annotation.Inherited* *Inherited* Indicates that an annotation type i
3 public interface class 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.