Class FinalField
- java.lang.Object
-
- org.mapstruct.ap.internal.model.common.FinalField
-
- All Implemented Interfaces:
FieldReference
- Direct Known Subclasses:
GetDateTimeFormatterField
public class FinalField extends Object implements FieldReference
A mapper instance field, initialized as null- Author:
- Sjaak Derksen
-
-
Constructor Summary
Constructors Constructor Description FinalField(Type type, String variableName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Type
getType()
String
getVariableName()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mapstruct.ap.internal.model.common.FieldReference
getTemplateParameter
-
-
-
-
Method Detail
-
getVariableName
public String getVariableName()
- Specified by:
getVariableName
in interfaceFieldReference
- Returns:
- variable name of the field
-
getType
public Type getType()
- Specified by:
getType
in interfaceFieldReference
- Returns:
- type of the field
-
-