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
|
equals, getAccessibility, getContextParameter, getDeclaringMapper, getDefiningType, getExecutable, getMapperConfiguration, getMappingTargetParameter, getName, getParameterNames, getParameters, getResultType, getSourceParameters, getTargetTypeParameter, getThrownTypes, hashCode, isDefault, isLifecycleCallbackMethod, isStatic, isUpdateMethod, matches, overridesMethod
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-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.