#168 Change retention of method-level annotations to CLASS, as they now need to be read from other classes as well

This commit is contained in:
Andreas Gudian 2015-02-25 14:50:39 +01:00
parent 9bfdc54b7b
commit ea73669096
9 changed files with 9 additions and 9 deletions

View File

@ -32,7 +32,7 @@ import java.lang.annotation.Target;
* @author Sjaak Derksen
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.CLASS)
public @interface BeanMapping {
/**

View File

@ -50,7 +50,7 @@ import java.lang.annotation.Target;
* @author Sjaak Derksen
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.CLASS)
public @interface InheritConfiguration {
/**

View File

@ -38,7 +38,7 @@ import java.lang.annotation.Target;
* @author Sjaak Derksen
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.CLASS)
public @interface InheritInverseConfiguration {
/**

View File

@ -35,7 +35,7 @@ import java.util.Date;
* @author Gunnar Morling
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.CLASS)
public @interface IterableMapping {
/**

View File

@ -34,7 +34,7 @@ import java.util.Date;
* @author Gunnar Morling
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.CLASS)
public @interface MapMapping {
/**

View File

@ -40,7 +40,7 @@ import java.util.Date;
* @author Gunnar Morling
*/
@Repeatable(Mappings.class)
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.METHOD)
public @interface Mapping {

View File

@ -28,7 +28,7 @@ import java.lang.annotation.Target;
*
* @author Gunnar Morling
*/
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.METHOD)
public @interface Mappings {

View File

@ -38,7 +38,7 @@ import java.util.Date;
*
* @author Gunnar Morling
*/
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.METHOD)
public @interface Mapping {

View File

@ -28,7 +28,7 @@ import java.lang.annotation.Target;
*
* @author Gunnar Morling
*/
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.METHOD)
public @interface Mappings {