public class JaxbElemToValue extends BuiltInMethod
Constructor and Description |
---|
JaxbElemToValue(TypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
boolean |
doTypeVarsMatch(Type sourceType,
Type targetType)
Analyzes the Java Generic type variables in the parameter do match the type variables in the build in method same
goes for the returnType.
|
Set<Type> |
getImportTypes()
Returns the types used by this method for which import statements need to be generated.
|
Parameter |
getParameter()
There's currently only one parameter foreseen instead of a list of parameter
|
Type |
getReturnType()
Returns the return type of the method
|
describe, equals, getAccessibility, getConstructorFragment, getContextParameter, getContextParameters, getContextProvidedMethods, getDeclaringMapper, getDefiningType, getExecutable, getFieldReference, getMappingTargetParameter, getName, getOptions, 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 JaxbElemToValue(TypeFactory typeFactory)
public boolean doTypeVarsMatch(Type sourceType, Type targetType)
BuiltInMethod
doTypeVarsMatch
in class BuiltInMethod
sourceType
- sourcetargetType
- targettrue
, iff the the type variables matchpublic Parameter getParameter()
BuiltInMethod
getParameter
in class BuiltInMethod
public Type getReturnType()
Method
public Set<Type> getImportTypes()
BuiltInMethod
getImportTypes
in class BuiltInMethod
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.