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
,AnnotationElement
,AssignmentWrapper
,DecoratorConstructor
,EnumAnnotationElementHolder
,Field
,GeneratedType
,GeneratedTypeMethod
,IterableCreation
,Javadoc
,JavaExpressionPresenceCheck
,MethodReference
,MethodReferencePresenceCheck
,NegatePresenceCheck
,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
-
-