#2731 - Change ebean-querybean annotations from Retention RUNTIME to CLASS

This commit is contained in:
Rob Bygrave
2022-07-04 16:58:06 +12:00
parent d20d276d56
commit 23d52ca192
4 changed files with 5 additions and 5 deletions
@@ -9,10 +9,9 @@ import java.lang.annotation.Target;
* Used to denote a query bean that has already been enhanced.
* <p>
* Used by the agent to detect already enhanced type query beans to skip enhancement processing.
* </p>
*/
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Retention(RetentionPolicy.CLASS)
public @interface AlreadyEnhancedMarker {
}
@@ -11,7 +11,7 @@ import java.lang.annotation.Target;
* This is code generated by the query bean generator (annotation processor).
*/
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Retention(RetentionPolicy.CLASS)
public @interface Generated {
/**
@@ -9,10 +9,9 @@ import java.lang.annotation.Target;
* Used to denote a type query bean.
* <p>
* These are typically generated beans used to build queries using type safe query criteria.
* </p>
*/
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Retention(RetentionPolicy.CLASS)
public @interface TypeQueryBean {
/**