Class ModelElement
- java.lang.Object
-
- org.mapstruct.ap.internal.writer.FreeMarkerWritable
-
- org.mapstruct.ap.internal.model.common.ModelElement
-
- All Implemented Interfaces:
Writable
- Direct Known Subclasses:
AllPresenceChecksPresenceCheck
,AnnotatedConstructor
,Annotation
,AssignmentWrapper
,DecoratorConstructor
,Field
,GeneratedType
,IterableCreation
,JavaExpressionPresenceCheck
,MappingMethod
,MethodReference
,MethodReferencePresenceCheck
,NoArgumentConstructor
,NullPresenceCheck
,Parameter
,PropertyMapping
,ServicesEntry
,SourceRHS
,SubclassMapping
,SuffixPresenceCheck
,SupportingConstructorFragment
,Type
,TypeConversion
public abstract class ModelElement extends FreeMarkerWritable
Base class of all model elements. Implements theWritable
contract to write model elements into source code files.- 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 ModelElement()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Set<Type>
getImportTypes()
Returns a set containing thoseType
s referenced by this model element for which an import statement needs to be declared.-
Methods inherited from class org.mapstruct.ap.internal.writer.FreeMarkerWritable
getTemplateName, getTemplateNameForClass, write
-
-