Map struct file template for IntelliJ

 #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end


import org.mapstruct.Mapper;

import org.mapstruct.factory.Mappers;


#parse("File Header.java")

@Mapper

public interface ${NAME}EntityMapper {


    ${NAME}EntityMapper INSTANCE = Mappers.getMapper(${NAME}EntityMapper.class);


}



Comments

Popular posts from this blog

Validation for AZ phone numbers with RegEx in Java

Java necə işləyir, kod nədir ?