Class MapValueAccessor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.lang.model.element.Element element  
      private java.lang.String simpleName  
      private javax.lang.model.type.TypeMirror valueTypeMirror  
    • Constructor Summary

      Constructors 
      Constructor Description
      MapValueAccessor​(javax.lang.model.element.Element element, javax.lang.model.type.TypeMirror valueTypeMirror, java.lang.String simpleName)  
    • Field Detail

      • valueTypeMirror

        private final javax.lang.model.type.TypeMirror valueTypeMirror
      • simpleName

        private final java.lang.String simpleName
      • element

        private final javax.lang.model.element.Element element
    • Constructor Detail

      • MapValueAccessor

        public MapValueAccessor​(javax.lang.model.element.Element element,
                                javax.lang.model.type.TypeMirror valueTypeMirror,
                                java.lang.String simpleName)
    • Method Detail

      • getAccessedType

        public javax.lang.model.type.TypeMirror getAccessedType()
        Description copied from interface: Accessor
        This returns the type that this accessor gives as a return. e.g. The ExecutableElement.getReturnType() if this is a method accessor, or Element.asType() for field accessors.
        Specified by:
        getAccessedType in interface Accessor
        Returns:
        the type that the accessor gives as a return
      • getSimpleName

        public java.lang.String getSimpleName()
        Specified by:
        getSimpleName in interface Accessor
        Returns:
        the simple name of the accessor
      • getModifiers

        public java.util.Set<javax.lang.model.element.Modifier> getModifiers()
        Specified by:
        getModifiers in interface Accessor
        Returns:
        the set of modifiers that the accessor has
      • getElement

        public javax.lang.model.element.Element getElement()
        Specified by:
        getElement in interface Accessor
        Returns:
        the underlying Element, VariableElement or ExecutableElement