diff options
Diffstat (limited to 'JCL/converterJclMin14/src/java/lang/annotation')
7 files changed, 92 insertions, 0 deletions
diff --git a/JCL/converterJclMin14/src/java/lang/annotation/Annotation.java b/JCL/converterJclMin14/src/java/lang/annotation/Annotation.java new file mode 100644 index 0000000000..530c272ea4 --- /dev/null +++ b/JCL/converterJclMin14/src/java/lang/annotation/Annotation.java @@ -0,0 +1,4 @@ +package java.lang.annotation; +public interface Annotation { + +} diff --git a/JCL/converterJclMin14/src/java/lang/annotation/Documented.java b/JCL/converterJclMin14/src/java/lang/annotation/Documented.java new file mode 100644 index 0000000000..840d0f454e --- /dev/null +++ b/JCL/converterJclMin14/src/java/lang/annotation/Documented.java @@ -0,0 +1,7 @@ +package java.lang.annotation; + +@Documented +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.ANNOTATION_TYPE) +public @interface Documented { +} diff --git a/JCL/converterJclMin14/src/java/lang/annotation/ElementType.java b/JCL/converterJclMin14/src/java/lang/annotation/ElementType.java new file mode 100644 index 0000000000..7b5b59578e --- /dev/null +++ b/JCL/converterJclMin14/src/java/lang/annotation/ElementType.java @@ -0,0 +1,48 @@ +package java.lang.annotation; + +public enum ElementType { + /** Class, interface (including annotation type), or enum declaration */ + TYPE, + + /** Field declaration (includes enum constants) */ + FIELD, + + /** Method declaration */ + METHOD, + + /** Formal parameter declaration */ + PARAMETER, + + /** Constructor declaration */ + CONSTRUCTOR, + + /** Local variable declaration */ + LOCAL_VARIABLE, + + /** Annotation type declaration */ + ANNOTATION_TYPE, + + /** Package declaration */ + PACKAGE, + + /** + * Type parameter declaration + * + * @since 1.8 + */ + TYPE_PARAMETER, + + /** + * Use of a type + * + * @since 1.8 + */ + TYPE_USE, + + /** + * Module declaration. + * + * @since 9 + */ + MODULE +} diff --git a/JCL/converterJclMin14/src/java/lang/annotation/Inherited.java b/JCL/converterJclMin14/src/java/lang/annotation/Inherited.java new file mode 100644 index 0000000000..ed69c0b04e --- /dev/null +++ b/JCL/converterJclMin14/src/java/lang/annotation/Inherited.java @@ -0,0 +1,7 @@ +package java.lang.annotation; + +@Documented +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.ANNOTATION_TYPE) +public @interface Inherited { +}
\ No newline at end of file diff --git a/JCL/converterJclMin14/src/java/lang/annotation/Retention.java b/JCL/converterJclMin14/src/java/lang/annotation/Retention.java new file mode 100644 index 0000000000..3896b228f5 --- /dev/null +++ b/JCL/converterJclMin14/src/java/lang/annotation/Retention.java @@ -0,0 +1,10 @@ +package java.lang.annotation; + +import java.lang.annotation.Retention; + +@Documented +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.ANNOTATION_TYPE) +public @interface Retention { + RetentionPolicy value(); +}
\ No newline at end of file diff --git a/JCL/converterJclMin14/src/java/lang/annotation/RetentionPolicy.java b/JCL/converterJclMin14/src/java/lang/annotation/RetentionPolicy.java new file mode 100644 index 0000000000..26349b1919 --- /dev/null +++ b/JCL/converterJclMin14/src/java/lang/annotation/RetentionPolicy.java @@ -0,0 +1,6 @@ +package java.lang.annotation; +public enum RetentionPolicy { + CLASS, + SOURCE, + RUNTIME +}
\ No newline at end of file diff --git a/JCL/converterJclMin14/src/java/lang/annotation/Target.java b/JCL/converterJclMin14/src/java/lang/annotation/Target.java new file mode 100644 index 0000000000..c7654f5a5c --- /dev/null +++ b/JCL/converterJclMin14/src/java/lang/annotation/Target.java @@ -0,0 +1,10 @@ +package java.lang.annotation; + +import java.lang.annotation.Target; + +@Documented +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.ANNOTATION_TYPE) +public @interface Target { + ElementType[] value(); +}
\ No newline at end of file |