PIVOT-786 - Annotate Pivot annotations with the @Documented annotation
git-svn-id: https://svn.apache.org/repos/asf/pivot/trunk@1156094 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/core/src/org/apache/pivot/beans/BXML.java b/core/src/org/apache/pivot/beans/BXML.java
index 33c7f02..8a4c537 100644
--- a/core/src/org/apache/pivot/beans/BXML.java
+++ b/core/src/org/apache/pivot/beans/BXML.java
@@ -16,6 +16,7 @@
*/
package org.apache.pivot.beans;
+import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@@ -25,6 +26,7 @@
* Annotation that causes a loaded BXML element to be bound to the annotated
* field.
*/
+@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface BXML {
diff --git a/core/src/org/apache/pivot/beans/DefaultProperty.java b/core/src/org/apache/pivot/beans/DefaultProperty.java
index b44442a..9743fcd 100644
--- a/core/src/org/apache/pivot/beans/DefaultProperty.java
+++ b/core/src/org/apache/pivot/beans/DefaultProperty.java
@@ -16,6 +16,7 @@
*/
package org.apache.pivot.beans;
+import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
@@ -26,6 +27,7 @@
* Specifies a property to which child elements will be added or set when an
* explicit property is not given.
*/
+@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
diff --git a/core/src/org/apache/pivot/beans/IDProperty.java b/core/src/org/apache/pivot/beans/IDProperty.java
index 5f36aa4..92935ec 100644
--- a/core/src/org/apache/pivot/beans/IDProperty.java
+++ b/core/src/org/apache/pivot/beans/IDProperty.java
@@ -16,6 +16,7 @@
*/
package org.apache.pivot.beans;
+import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
@@ -26,6 +27,7 @@
* Specifies a property to which BXML ID values will be propagated during
* serialization.
*/
+@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)