use wildcard instead of raw type in annotation members

This commit is contained in:
Gavin King 2021-02-25 13:40:42 +01:00
parent aeee127e59
commit 20e855acf1
5 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ public @interface MetaValue {
/**
* The entity type.
*/
Class targetEntity();
Class<?> targetEntity();
/**
* The corresponding discriminator value stored in database.

View File

@ -38,7 +38,7 @@ public @interface NamedNativeQuery {
/**
* The result Class. Should not be used in conjunction with {@link #resultSetMapping()}
*/
Class resultClass() default void.class;
Class<?> resultClass() default void.class;
/**
* The name of a SQLResultSetMapping to use. Should not be used in conjunction with {@link #resultClass()}.

View File

@ -28,5 +28,5 @@ public @interface Proxy {
/**
* Proxy class or interface used. Default is to use the entity class name.
*/
Class proxyClass() default void.class;
Class<?> proxyClass() default void.class;
}

View File

@ -34,5 +34,5 @@ public @interface SqlFragmentAlias {
/**
* The entity class associated with the alias.
*/
Class entity() default void.class;
Class<?> entity() default void.class;
}

View File

@ -21,5 +21,5 @@ public @interface Target {
/**
* The target entity type.
*/
Class value();
Class<?> value();
}