
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, overridesMethodclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetMappingSourceType, isMappingTargetAssignableToReturnTypepublic JaxbElemToValue(TypeFactory typeFactory)
public boolean doTypeVarsMatch(Type sourceType, Type targetType)
BuiltInMethoddoTypeVarsMatch in class BuiltInMethodsourceType - sourcetargetType - targettrue, iff the the type variables matchpublic Parameter getParameter()
BuiltInMethodgetParameter in class BuiltInMethodpublic Type getReturnType()
Methodpublic Set<Type> getImportTypes()
BuiltInMethodgetImportTypes in class BuiltInMethodCopyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.