diff options
author | Senmori <thesenmori@gmail.com> | 2018-07-15 22:39:38 -0400 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-07-16 12:52:31 +1000 |
commit | 39f216740c54d001396376ad3351b189ee08cceb (patch) | |
tree | 5f40da8843d95ba93f293eae10803be9fed79151 /src/main/java/org | |
parent | ff903753345c00c320bf0d34b6a378e894653715 (diff) | |
download | plugin-annotations-39f216740c54d001396376ad3351b189ee08cceb.tar plugin-annotations-39f216740c54d001396376ad3351b189ee08cceb.tar.gz plugin-annotations-39f216740c54d001396376ad3351b189ee08cceb.tar.lz plugin-annotations-39f216740c54d001396376ad3351b189ee08cceb.tar.xz plugin-annotations-39f216740c54d001396376ad3351b189ee08cceb.zip |
Change retention to RUNTIME instead of SOURCE.
Diffstat (limited to 'src/main/java/org')
17 files changed, 17 insertions, 17 deletions
diff --git a/src/main/java/org/bukkit/plugin/java/annotation/dependency/Dependency.java b/src/main/java/org/bukkit/plugin/java/annotation/dependency/Dependency.java index 28b045b..f6b7d1e 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/dependency/Dependency.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/dependency/Dependency.java @@ -17,7 +17,7 @@ import java.lang.annotation.Target; */ @Documented @Target(ElementType.TYPE) -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.RUNTIME) @Repeatable(DependsOn.class) public @interface Dependency { /** diff --git a/src/main/java/org/bukkit/plugin/java/annotation/dependency/DependsOn.java b/src/main/java/org/bukkit/plugin/java/annotation/dependency/DependsOn.java index 54e9e5d..f1834c7 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/dependency/DependsOn.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/dependency/DependsOn.java @@ -16,7 +16,7 @@ import java.lang.annotation.Target; */ @Documented @Target(ElementType.TYPE) -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.RUNTIME) public @interface DependsOn { Dependency[] value() default {}; } diff --git a/src/main/java/org/bukkit/plugin/java/annotation/dependency/LoadBefore.java b/src/main/java/org/bukkit/plugin/java/annotation/dependency/LoadBefore.java index 06e3f5b..3eff13b 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/dependency/LoadBefore.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/dependency/LoadBefore.java @@ -16,7 +16,7 @@ import java.lang.annotation.Target; * The plugin listed will be treated as a {@link SoftDependency}. <br> */ @Documented -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Repeatable(LoadBeforePlugins.class) public @interface LoadBefore { diff --git a/src/main/java/org/bukkit/plugin/java/annotation/dependency/LoadBeforePlugins.java b/src/main/java/org/bukkit/plugin/java/annotation/dependency/LoadBeforePlugins.java index 7061622..de32db1 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/dependency/LoadBeforePlugins.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/dependency/LoadBeforePlugins.java @@ -13,7 +13,7 @@ import java.lang.annotation.Target; * how repeating annotations work. */ @Documented -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface LoadBeforePlugins { LoadBefore[] value() default {}; diff --git a/src/main/java/org/bukkit/plugin/java/annotation/dependency/SoftDependency.java b/src/main/java/org/bukkit/plugin/java/annotation/dependency/SoftDependency.java index 9f3c379..a542a09 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/dependency/SoftDependency.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/dependency/SoftDependency.java @@ -17,7 +17,7 @@ import java.lang.annotation.Target; */ @Documented -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Repeatable(SoftDependsOn.class) public @interface SoftDependency { diff --git a/src/main/java/org/bukkit/plugin/java/annotation/dependency/SoftDependsOn.java b/src/main/java/org/bukkit/plugin/java/annotation/dependency/SoftDependsOn.java index fb53a10..d9771e1 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/dependency/SoftDependsOn.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/dependency/SoftDependsOn.java @@ -17,7 +17,7 @@ import java.lang.annotation.Target; */ @Documented -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface SoftDependsOn { SoftDependency[] value() default {}; diff --git a/src/main/java/org/bukkit/plugin/java/annotation/permission/ChildPermission.java b/src/main/java/org/bukkit/plugin/java/annotation/permission/ChildPermission.java index 53b6ccf..6d32ea6 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/permission/ChildPermission.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/permission/ChildPermission.java @@ -11,7 +11,7 @@ import java.lang.annotation.Target; */ @Documented @Target(ElementType.TYPE) -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.RUNTIME) public @interface ChildPermission { /** * If true, this child node will inherit the parent {@link Permission}'s permission. diff --git a/src/main/java/org/bukkit/plugin/java/annotation/permission/Permission.java b/src/main/java/org/bukkit/plugin/java/annotation/permission/Permission.java index a00c0f9..55a2ae7 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/permission/Permission.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/permission/Permission.java @@ -14,7 +14,7 @@ import java.lang.annotation.Target; * Defines a plugin permission */ @Documented -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Repeatable(Permissions.class) public @interface Permission { diff --git a/src/main/java/org/bukkit/plugin/java/annotation/permission/Permissions.java b/src/main/java/org/bukkit/plugin/java/annotation/permission/Permissions.java index 644b152..aeb92af 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/permission/Permissions.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/permission/Permissions.java @@ -15,7 +15,7 @@ import java.lang.annotation.Target; * how repeating annotations work. */ @Documented -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface Permissions { Permission[] value() default {}; diff --git a/src/main/java/org/bukkit/plugin/java/annotation/plugin/ApiVersion.java b/src/main/java/org/bukkit/plugin/java/annotation/plugin/ApiVersion.java index b7f1e24..268f190 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/plugin/ApiVersion.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/plugin/ApiVersion.java @@ -19,7 +19,7 @@ import java.util.Collection; * Pre-1.13 plugins do not need to use this annotation. */ @Documented -@Retention( RetentionPolicy.SOURCE ) +@Retention(RetentionPolicy.RUNTIME) @Target( ElementType.TYPE ) public @interface ApiVersion { diff --git a/src/main/java/org/bukkit/plugin/java/annotation/plugin/Description.java b/src/main/java/org/bukkit/plugin/java/annotation/plugin/Description.java index 69abeca..643f1e9 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/plugin/Description.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/plugin/Description.java @@ -13,7 +13,7 @@ import java.lang.annotation.Target; */ @Documented -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface Description { /** diff --git a/src/main/java/org/bukkit/plugin/java/annotation/plugin/LoadOrder.java b/src/main/java/org/bukkit/plugin/java/annotation/plugin/LoadOrder.java index 528ad1a..1104211 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/plugin/LoadOrder.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/plugin/LoadOrder.java @@ -15,7 +15,7 @@ import java.lang.annotation.Target; */ @Documented -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface LoadOrder { /** diff --git a/src/main/java/org/bukkit/plugin/java/annotation/plugin/LogPrefix.java b/src/main/java/org/bukkit/plugin/java/annotation/plugin/LogPrefix.java index cdf0838..dd79d97 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/plugin/LogPrefix.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/plugin/LogPrefix.java @@ -13,7 +13,7 @@ import java.lang.annotation.Target; */ @Documented -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface LogPrefix { /** diff --git a/src/main/java/org/bukkit/plugin/java/annotation/plugin/Plugin.java b/src/main/java/org/bukkit/plugin/java/annotation/plugin/Plugin.java index 3964808..d247d7e 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/plugin/Plugin.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/plugin/Plugin.java @@ -13,7 +13,7 @@ import java.lang.annotation.Target; * (i.e. the class that extends {@link org.bukkit.plugin.java.JavaPlugin} */ @Documented -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface Plugin { /** diff --git a/src/main/java/org/bukkit/plugin/java/annotation/plugin/Website.java b/src/main/java/org/bukkit/plugin/java/annotation/plugin/Website.java index 9937138..ec2a6a2 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/plugin/Website.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/plugin/Website.java @@ -13,7 +13,7 @@ import java.lang.annotation.Target; */ @Documented -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface Website { /** diff --git a/src/main/java/org/bukkit/plugin/java/annotation/plugin/author/Author.java b/src/main/java/org/bukkit/plugin/java/annotation/plugin/author/Author.java index d652259..b382b14 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/plugin/author/Author.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/plugin/author/Author.java @@ -14,7 +14,7 @@ import java.lang.annotation.Target; * in plugin.yml if a single author, otherwise {@code authors} */ @Documented -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Repeatable(Authors.class) public @interface Author { diff --git a/src/main/java/org/bukkit/plugin/java/annotation/plugin/author/Authors.java b/src/main/java/org/bukkit/plugin/java/annotation/plugin/author/Authors.java index b58e7cb..37dbd03 100644 --- a/src/main/java/org/bukkit/plugin/java/annotation/plugin/author/Authors.java +++ b/src/main/java/org/bukkit/plugin/java/annotation/plugin/author/Authors.java @@ -13,7 +13,7 @@ import java.lang.annotation.Target; * how repeating annotations work. */ @Documented -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface Authors { Author[] value(); |