Package org.mapstruct.ap.internal.model
Class DecoratorConstructor
- java.lang.Object
-
- org.mapstruct.ap.internal.writer.FreeMarkerWritable
-
- org.mapstruct.ap.internal.model.common.ModelElement
-
- org.mapstruct.ap.internal.model.DecoratorConstructor
-
- All Implemented Interfaces:
Constructor,Writable
public class DecoratorConstructor extends ModelElement implements Constructor
Represents the constructor of a decorator.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.mapstruct.ap.internal.writer.Writable
Writable.Context
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringdelegateNameprivate booleaninvokeSuperConstructorprivate java.lang.Stringname
-
Constructor Summary
Constructors Constructor Description DecoratorConstructor(java.lang.String name, java.lang.String delegateName, boolean invokeSuperConstructor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDelegateName()java.util.Set<Type>getImportTypes()Returns a set containing thoseTypes referenced by this model element for which an import statement needs to be declared.java.lang.StringgetName()booleanisInvokeSuperConstructor()-
Methods inherited from class org.mapstruct.ap.internal.writer.FreeMarkerWritable
getTemplateName, getTemplateNameForClass, write
-
-
-
-
Method Detail
-
getImportTypes
public java.util.Set<Type> getImportTypes()
Description copied from class:ModelElementReturns a set containing thoseTypes referenced by this model element for which an import statement needs to be declared.- Specified by:
getImportTypesin interfaceConstructor- Specified by:
getImportTypesin classModelElement- Returns:
- A set with type referenced by this model element. Must not be
null.
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceConstructor
-
getDelegateName
public java.lang.String getDelegateName()
-
isInvokeSuperConstructor
public boolean isInvokeSuperConstructor()
-
-