#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,20 +24,18 @@ import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Configures the mapping between two bean types
* Configures the mapping between two bean types.
*
* @author Sjaak Derksen
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
@Target( ElementType.METHOD )
@Retention( RetentionPolicy.SOURCE )
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
*/
Class resultType() default void.class;
Class<?> resultType() default void.class;
}