From 1eb95e7115bdf044bd2e541ca054679592c6f8f9 Mon Sep 17 00:00:00 2001 From: sjaakd Date: Sun, 30 Mar 2014 10:42:51 +0200 Subject: [PATCH] #102 fixing javadoc --- core/src/main/java/org/mapstruct/MapperConfig.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/org/mapstruct/MapperConfig.java b/core/src/main/java/org/mapstruct/MapperConfig.java index 66c2d32e0..a49f3b46b 100644 --- a/core/src/main/java/org/mapstruct/MapperConfig.java +++ b/core/src/main/java/org/mapstruct/MapperConfig.java @@ -26,15 +26,14 @@ import java.lang.annotation.Target; import org.mapstruct.factory.Mappers; /** - * Marks an interface as mapper interface and activates the generation of a - * mapper implementation for that interface. + * Marks a class-, interface-, enum declaration or package declaration as (common) configuration. * * 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. * * @author Sjaak Derksen */ -@Target(ElementType.TYPE) +@Target( { ElementType.TYPE, ElementType.PACKAGE } ) @Retention(RetentionPolicy.SOURCE) public @interface MapperConfig {