forked from phoedos/pmd
Mapping for inner classes had an issue.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4886 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -54,7 +54,9 @@ public class PMDASMVisitor implements ClassVisitor {
|
||||
packages.put(className, name);
|
||||
n = className.indexOf('$');
|
||||
if (n > -1) {
|
||||
//TODO I don't think the first one, with Class$Inner is needed - come back and check
|
||||
packages.put(className.substring(n + 1), name);
|
||||
packages.put(className.replace('$', '.'), name);
|
||||
}
|
||||
|
||||
return name;
|
||||
|
Reference in New Issue
Block a user