stevenschlansker opened a new issue, #665:
URL: https://github.com/apache/maven-pmd-plugin/issues/665
### Affected version
3.28.0
### Bug description
For a class that reports a bug, like
```java
public class TestOuter {
class Inner {
}
}
```
if there is a bug in `Inner`, the failure looks like:
```
[INFO] --- pmd:3.28.0:check (basepom.default) @ my-project ---
[WARNING] PMD Failure: my.package.Inner:16
Rule:ConstructorCallsOverridableMethod Priority:1 Overridable method called
during object construction
```
Note `my.package.Inner` which is package-name + class-name
For top-level classes this is fine, but for inner classes, the enclosing
class(es) should also be printed (as many nesting levels as are present).
Otherwise, the end-user might be confused as to where to find the bug,
especially if multiple classes in the same package have similarly-named nested
classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]