|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Target(value={TYPE,FIELD,METHOD}) @Retention(value=RUNTIME) public @interface DocParent
Specifies the parents a document is a child of. A document may have none or any number of parents.
Annotations found at the type level are not inherited to the elements defined in this type.
This is a filing element.
Usage Example
@DocParent("type-parent") public interface TestProperties { String inheritAll(); @DocParent({ "sample one" }) String oneValue(); @DocParent({ "sample one", "sample two", "sample three" }) String multipleValues(); }
Document
,
DocCategory
,
DocTag
Required Element Summary | |
---|---|
String[] |
value The names of the parents of the annotated element. |
Element Detail |
---|
public abstract String[] value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |