#109 Removing package cycle around AnnotationProcessingException

This commit is contained in:
Gunnar Morling 2014-01-26 12:21:47 +01:00
parent e4037c7acd
commit c77809a8fd
5 changed files with 6 additions and 4 deletions

View File

@ -53,6 +53,7 @@ import org.mapstruct.ap.option.ReportingPolicy;
import org.mapstruct.ap.processor.DefaultModelElementProcessorContext; import org.mapstruct.ap.processor.DefaultModelElementProcessorContext;
import org.mapstruct.ap.processor.ModelElementProcessor; import org.mapstruct.ap.processor.ModelElementProcessor;
import org.mapstruct.ap.processor.ModelElementProcessor.ProcessorContext; import org.mapstruct.ap.processor.ModelElementProcessor.ProcessorContext;
import org.mapstruct.ap.util.AnnotationProcessingException;
/** /**
* A JSR 269 annotation {@link Processor} which generates the implementations for mapper interfaces (interfaces * A JSR 269 annotation {@link Processor} which generates the implementations for mapper interfaces (interfaces

View File

@ -45,8 +45,8 @@ import javax.lang.model.type.TypeMirror;
import javax.lang.model.util.Elements; import javax.lang.model.util.Elements;
import javax.lang.model.util.Types; import javax.lang.model.util.Types;
import org.mapstruct.ap.AnnotationProcessingException;
import org.mapstruct.ap.MappingTargetPrism; import org.mapstruct.ap.MappingTargetPrism;
import org.mapstruct.ap.util.AnnotationProcessingException;
/** /**
* Factory creating {@link Type} instances. * Factory creating {@link Type} instances.

View File

@ -22,13 +22,14 @@ import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import javax.lang.model.element.AnnotationMirror; import javax.lang.model.element.AnnotationMirror;
import javax.lang.model.element.AnnotationValue; import javax.lang.model.element.AnnotationValue;
import javax.lang.model.element.Element; import javax.lang.model.element.Element;
import org.mapstruct.ap.AnnotationProcessingException;
import org.mapstruct.ap.MappingPrism; import org.mapstruct.ap.MappingPrism;
import org.mapstruct.ap.MappingsPrism; import org.mapstruct.ap.MappingsPrism;
import org.mapstruct.ap.util.AnnotationProcessingException;
/** /**
* Represents a property mapping as configured via {@code @Mapping}. * Represents a property mapping as configured via {@code @Mapping}.

View File

@ -34,7 +34,6 @@ import javax.lang.model.type.TypeKind;
import javax.lang.model.type.TypeMirror; import javax.lang.model.type.TypeMirror;
import javax.tools.Diagnostic.Kind; import javax.tools.Diagnostic.Kind;
import org.mapstruct.ap.AnnotationProcessingException;
import org.mapstruct.ap.IterableMappingPrism; import org.mapstruct.ap.IterableMappingPrism;
import org.mapstruct.ap.MapMappingPrism; import org.mapstruct.ap.MapMappingPrism;
import org.mapstruct.ap.MapperPrism; import org.mapstruct.ap.MapperPrism;
@ -47,6 +46,7 @@ import org.mapstruct.ap.model.source.IterableMapping;
import org.mapstruct.ap.model.source.MapMapping; import org.mapstruct.ap.model.source.MapMapping;
import org.mapstruct.ap.model.source.Mapping; import org.mapstruct.ap.model.source.Mapping;
import org.mapstruct.ap.model.source.Method; import org.mapstruct.ap.model.source.Method;
import org.mapstruct.ap.util.AnnotationProcessingException;
/** /**
* A {@link ModelElementProcessor} which retrieves a list of {@link Method}s * A {@link ModelElementProcessor} which retrieves a list of {@link Method}s

View File

@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.mapstruct.ap; package org.mapstruct.ap.util;
import javax.annotation.processing.Messager; import javax.annotation.processing.Messager;
import javax.lang.model.element.AnnotationMirror; import javax.lang.model.element.AnnotationMirror;