A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/2105 below:

[java] Wrong name for inner classes in violations · Issue #2105 · pmd/pmd · GitHub

Affects PMD Version:
6.19.0

Rule:
any

Description:
When a Java class has inner classes, their classname is not correctly reported when looking at the class itself. This is not an issue for code inside a class, but the inner class declaration itself.

Code Sample demonstrating the issue:

class Foo { // classname: Foo -> correct
    class Bar { // classname Foo -> wrong, should be Foo$Bar
    } 
}

Running PMD through: [Java API | any]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4