mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#109 Removing package cycle around AnnotationProcessingException
This commit is contained in:
parent
e4037c7acd
commit
c77809a8fd
@ -53,6 +53,7 @@ import org.mapstruct.ap.option.ReportingPolicy;
|
||||
import org.mapstruct.ap.processor.DefaultModelElementProcessorContext;
|
||||
import org.mapstruct.ap.processor.ModelElementProcessor;
|
||||
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
|
||||
|
@ -45,8 +45,8 @@ import javax.lang.model.type.TypeMirror;
|
||||
import javax.lang.model.util.Elements;
|
||||
import javax.lang.model.util.Types;
|
||||
|
||||
import org.mapstruct.ap.AnnotationProcessingException;
|
||||
import org.mapstruct.ap.MappingTargetPrism;
|
||||
import org.mapstruct.ap.util.AnnotationProcessingException;
|
||||
|
||||
/**
|
||||
* Factory creating {@link Type} instances.
|
||||
|
@ -22,13 +22,14 @@ import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.lang.model.element.AnnotationMirror;
|
||||
import javax.lang.model.element.AnnotationValue;
|
||||
import javax.lang.model.element.Element;
|
||||
|
||||
import org.mapstruct.ap.AnnotationProcessingException;
|
||||
import org.mapstruct.ap.MappingPrism;
|
||||
import org.mapstruct.ap.MappingsPrism;
|
||||
import org.mapstruct.ap.util.AnnotationProcessingException;
|
||||
|
||||
/**
|
||||
* Represents a property mapping as configured via {@code @Mapping}.
|
||||
|
@ -34,7 +34,6 @@ import javax.lang.model.type.TypeKind;
|
||||
import javax.lang.model.type.TypeMirror;
|
||||
import javax.tools.Diagnostic.Kind;
|
||||
|
||||
import org.mapstruct.ap.AnnotationProcessingException;
|
||||
import org.mapstruct.ap.IterableMappingPrism;
|
||||
import org.mapstruct.ap.MapMappingPrism;
|
||||
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.Mapping;
|
||||
import org.mapstruct.ap.model.source.Method;
|
||||
import org.mapstruct.ap.util.AnnotationProcessingException;
|
||||
|
||||
/**
|
||||
* A {@link ModelElementProcessor} which retrieves a list of {@link Method}s
|
||||
|
@ -16,7 +16,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.mapstruct.ap;
|
||||
package org.mapstruct.ap.util;
|
||||
|
||||
import javax.annotation.processing.Messager;
|
||||
import javax.lang.model.element.AnnotationMirror;
|
Loading…
x
Reference in New Issue
Block a user