Class Mapper

  • All Implemented Interfaces:
    Writable

    public class Mapper
    extends GeneratedType
    Represents a type implementing a mapper interface (annotated with @Mapper). This is the root object of the mapper model.
    Author:
    Gunnar Morling
    • Method Detail

      • getDecorator

        public Decorator getDecorator()
      • removeDecorator

        public void removeDecorator()
      • hasCustomImplementation

        public boolean hasCustomImplementation()
      • getFlatName

        public static String getFlatName​(TypeElement element)
        Returns the same as Class.getName() but without the package declaration.
        Parameters:
        element - the element that should be flattened
        Returns:
        the flat name for the type element