
@Experimental(value="This SPI can have it\'s signature changed in subsequent releases") public interface MappingExclusionProvider
TypeElement.
When generating the implementation of a mapping method, MapStruct will apply the following routine for each
attribute pair in the source and target object:
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExcluded(TypeElement typeElement)
Checks if MapStruct should not generate an automatic sub-mapping for the provided
TypeElement, i.e. |
boolean isExcluded(TypeElement typeElement)
TypeElement, i.e.
MapStruct will not try to descent into this class and won't try to automatically map it with some other type.
The given typeElement will be excluded from the automatic sub-mapping generationtypeElement - that needs to be checkedtrue if MapStruct should exclude the provided TypeElement from an automatic sub-mappingCopyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.