
public class DefaultMapperReference extends MapperReference
Mappers#getMapper() method. Used by default if no other component
model is specified via Mapper#uses().Writable.Context| Modifier and Type | Method and Description |
|---|---|
Set<Type> |
getImportTypes()
Returns a set containing those
Types referenced by this model element for which an import statement needs
to be declared. |
static DefaultMapperReference |
getInstance(Type type,
boolean isAnnotatedMapper,
TypeFactory typeFactory,
List<String> otherMapperReferences) |
boolean |
isAnnotatedMapper() |
findMapperReferenceequals, getFieldNames, getType, getVariableName, hashCode, isTypeRequiresImport, isUsed, setTypeRequiresImport, setUsedgetTemplateName, getTemplateNameForClass, writepublic static DefaultMapperReference getInstance(Type type, boolean isAnnotatedMapper, TypeFactory typeFactory, List<String> otherMapperReferences)
public Set<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in class Fieldnull.public boolean isAnnotatedMapper()
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.