Class DelegateAccessor
java.lang.Object
org.mapstruct.ap.internal.util.accessor.DelegateAccessor
- All Implemented Interfaces:
Accessor
- Direct Known Subclasses:
ReadDelegateAccessor
- Author:
- Filip Hrisafov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis returns the type that this accessor gives as a return.
-
Field Details
-
delegate
-
-
Constructor Details
-
DelegateAccessor
-
-
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
-