Class MapValueAccessor
java.lang.Object
org.mapstruct.ap.internal.util.accessor.MapValueAccessor
- All Implemented Interfaces:
Accessor,ReadAccessor
An
Accessor that wraps a Map value.- Author:
- Christian Kosmowski
-
Constructor Summary
ConstructorsConstructorDescriptionMapValueAccessor(Element element, TypeMirror valueTypeMirror, String simpleName) -
Method Summary
Modifier and TypeMethodDescriptionThis returns the type that this accessor gives as a return.
-
Constructor Details
-
MapValueAccessor
-
-
Method Details
-
getAccessedType
Description copied from interface:AccessorThis returns the type that this accessor gives as a return. e.g. TheExecutableElement.getReturnType()if this is a method accessor, orVariableElement.asType()for field accessors.- Specified by:
getAccessedTypein interfaceAccessor- Returns:
- the type that the accessor gives as a return
-
getSimpleName
- Specified by:
getSimpleNamein interfaceAccessor- Returns:
- the simple name of the accessor
-
getModifiers
- Specified by:
getModifiersin interfaceAccessor- Returns:
- the set of modifiers that the accessor has
-
getElement
- Specified by:
getElementin interfaceAccessor- Returns:
- the underlying
Element,VariableElementorExecutableElement
-
getAccessorType
- Specified by:
getAccessorTypein interfaceAccessor- Returns:
- type of the accessor
-
getReadValueSource
- Specified by:
getReadValueSourcein interfaceReadAccessor
-