public class CreateDecimalFormat extends HelperMethod
DecimalFormat
DecimalFormat df = new DecimalFormat( numberFormat )
with setParseBigDecimal set to true.Constructor and Description |
---|
CreateDecimalFormat(TypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
String |
describe() |
Set<Type> |
getImportTypes()
Returns the types used by this method for which import statements need to be generated.
|
MappingMethodOptions |
getOptions() |
Parameter |
getParameter()
There's currently only one parameter foreseen instead of a list of parameter
|
Type |
getReturnType()
Returns the return type of the method
|
doTypeVarsMatch, equals, getAccessibility, getContextParameter, getContextParameters, getContextProvidedMethods, getDeclaringMapper, getDefiningType, getExecutable, getMappingTargetParameter, getName, getParameterNames, getParameters, getResultType, getSourceParameters, getTargetTypeParameter, getThrownTypes, hashCode, isDefault, isLifecycleCallbackMethod, isObjectFactory, isStatic, isUpdateMethod, matches, overridesMethod
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getMappingSourceType, isMappingTargetAssignableToReturnType
public CreateDecimalFormat(TypeFactory typeFactory)
public Set<Type> getImportTypes()
HelperMethod
getImportTypes
in class HelperMethod
public Parameter getParameter()
HelperMethod
getParameter
in class HelperMethod
public Type getReturnType()
Method
public MappingMethodOptions getOptions()
public String describe()
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.