import lombok.extern.slf4j.XSlf4j; @lombok.extern.slf4j.XSlf4j class LoggerXSlf4j { } @XSlf4j class LoggerXSlf4jWithImport { } @XSlf4j("DifferentName") class LoggerXSlf4jWithDifferentName { }