Class CalendarToZonedDateTime
java.lang.Object
org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
org.mapstruct.ap.internal.model.source.builtin.CalendarToZonedDateTime
- All Implemented Interfaces:
Method
BuiltInMethod for mapping between Calendar and ZonedDateTime.
Template is at org.mapstruct.ap.model.builtin.CalendarToZonedDateTime.ftl
-
Method Summary
Modifier and TypeMethodDescriptionReturns the types used by this method for which import statements need to be generated.There's currently only one parameter foreseen instead of a list of parameterReturns the return type of the methodMethods inherited from class org.mapstruct.ap.internal.model.source.builtin.BuiltInMethod
describe, doTypeVarsMatch, equals, getAccessibility, getConstructorFragment, getContextParameter, getContextParameters, getContextProvidedMethods, getDeclaringMapper, getDefiningType, getExecutable, getFieldReference, getMappingTargetParameter, getName, getOptions, getParameterNames, getParameters, getResultType, getSourceParameters, getTargetTypeParameter, getThrownTypes, getTypeParameters, hashCode, isDefault, isLifecycleCallbackMethod, isObjectFactory, isStatic, isUpdateMethod, matches, overridesMethodMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mapstruct.ap.internal.model.source.Method
getConditionOptions, getMappingSourceType
-
Method Details
-
getParameter
Description copied from class:BuiltInMethodThere's currently only one parameter foreseen instead of a list of parameter- Specified by:
getParameterin classBuiltInMethod- Returns:
- the parameter
-
getReturnType
Description copied from interface:MethodReturns the return type of the method- Returns:
- return type
-
getImportTypes
Description copied from class:BuiltInMethodReturns the types used by this method for which import statements need to be generated. Defaults to the empty set. To be overridden by implementations in case they make use of additional types (note that the parameter and return type don't need to be added).- Overrides:
getImportTypesin classBuiltInMethod- Returns:
- the types used by this method for which import statements need to be generated
-