Class TargetReference
java.lang.Object
org.mapstruct.ap.internal.model.beanmapping.TargetReference
This class describes the target side of a property mapping.
It contains the target parameter, and all individual (nested) property entries. So consider the following mapping method:
@Mapping(target = "propC", source = "in.propA.propB") TypeB mappingMethod(TypeA in);Then:
parameterwill describeinpropertyEntries[0]will describepropApropertyEntries[1]will describepropB
- Author:
- Sjaak Derksen
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary