#102 fixing javadoc

This commit is contained in:
sjaakd 2014-03-30 10:42:51 +02:00
parent c2138f2b8e
commit 1eb95e7115

View File

@ -26,15 +26,14 @@ import java.lang.annotation.Target;
import org.mapstruct.factory.Mappers; import org.mapstruct.factory.Mappers;
/** /**
* Marks an interface as mapper interface and activates the generation of a * Marks a class-, interface-, enum declaration or package declaration as (common) configuration.
* mapper implementation for that interface.
* *
* The {@link #unmappedTargetPolicy() } and {@link #componentModel() } an be overruled by a specific {@link Mapper} * The {@link #unmappedTargetPolicy() } and {@link #componentModel() } an be overruled by a specific {@link Mapper}
* annotation. {@link #uses() } will be used in addition to what is specified in the {@link Mapper} annotation. * annotation. {@link #uses() } will be used in addition to what is specified in the {@link Mapper} annotation.
* *
* @author Sjaak Derksen * @author Sjaak Derksen
*/ */
@Target(ElementType.TYPE) @Target( { ElementType.TYPE, ElementType.PACKAGE } )
@Retention(RetentionPolicy.SOURCE) @Retention(RetentionPolicy.SOURCE)
public @interface MapperConfig { public @interface MapperConfig {