#385 Improving docs, avoiding raw type warning

This commit is contained in:
Gunnar Morling 2015-01-22 23:32:41 +01:00
parent 4e771244ad
commit 4c9653e277

View File

@ -24,7 +24,7 @@ import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target; import java.lang.annotation.Target;
/** /**
* Configures the mapping between two bean types * Configures the mapping between two bean types.
* *
* @author Sjaak Derksen * @author Sjaak Derksen
*/ */
@ -32,12 +32,10 @@ import java.lang.annotation.Target;
@Retention( RetentionPolicy.SOURCE ) @Retention( RetentionPolicy.SOURCE )
public @interface BeanMapping { public @interface BeanMapping {
/** /**
* Specifies the result type of the method to select in case ambiguous mappings / factory methods. * Specifies the result type of the factory method to be used in case several factory methods qualify.
*
* *
* @return the resultType to select * @return the resultType to select
*/ */
Class resultType() default void.class; Class<?> resultType() default void.class;
} }