jborgers / PMD-jPinpoint-rules

PMD rule set for responsible Java and Kotlin coding: performance, sustainability, multi-threading, data mixup and more.
Apache License 2.0
43 stars 10 forks source link

pmd7 fix request: *LogArgument(s) rules do not work with @Slf4j tag #395

Open stokpop opened 2 days ago

stokpop commented 2 days ago

The log (static) field is not in the source code when the @Slf4j tag is used, and there is no violation on e.g.

import java.util.UUID;

@Service
@Slf4j
public class MyProducer {

    public String delete(UUID id) {
        log.debug("delete --> " + id);
}