Package org.mapstruct.ap.internal.model
Class MapperReference
- java.lang.Object
-
- org.mapstruct.ap.internal.writer.FreeMarkerWritable
-
- org.mapstruct.ap.internal.model.common.ModelElement
-
- org.mapstruct.ap.internal.model.Field
-
- org.mapstruct.ap.internal.model.MapperReference
-
- All Implemented Interfaces:
Writable
- Direct Known Subclasses:
AnnotationMapperReference
,DefaultMapperReference
public abstract class MapperReference extends Field
A reference to another mapper class, which itself may be generated or hand-written.- Author:
- Gunnar Morling
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.mapstruct.ap.internal.writer.Writable
Writable.Context
-
-
Constructor Summary
Constructors Constructor Description MapperReference(Type type, String variableName)
MapperReference(Type type, String variableName, boolean isUsed)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MapperReference
findMapperReference(List<MapperReference> mapperReferences, SourceMethod method)
-
Methods inherited from class org.mapstruct.ap.internal.model.Field
equals, getFieldNames, getImportTypes, getType, getVariableName, hashCode, isTypeRequiresImport, isUsed, setTypeRequiresImport, setUsed
-
Methods inherited from class org.mapstruct.ap.internal.writer.FreeMarkerWritable
getTemplateName, getTemplateNameForClass, write
-
-
-
-
Method Detail
-
findMapperReference
public static MapperReference findMapperReference(List<MapperReference> mapperReferences, SourceMethod method)
-
-