mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-21 03:25:43 +00:00
Namespace suffix handling on all Levels.
Classes with same name handling. Test data
This commit is contained in:
@@ -571,7 +571,7 @@ public class DebuggerHandler implements DebugConnectionListener {
|
||||
|
||||
Matcher m;
|
||||
if ((m = patAS3.matcher(name)).matches()) {
|
||||
String clsName = m.group(3);
|
||||
String clsNameWithSuffix = m.group(3);
|
||||
String pkg = m.group(2).replace("\\", ".");
|
||||
m = patAS3PCode.matcher(name);
|
||||
|
||||
@@ -579,10 +579,10 @@ public class DebuggerHandler implements DebugConnectionListener {
|
||||
moduleToClassIndex.put(file, Integer.parseInt(m.group(3)));
|
||||
moduleToTraitIndex.put(file, Integer.parseInt(m.group(4)));
|
||||
moduleToMethodIndex.put(file, Integer.parseInt(m.group(5)));
|
||||
name = DottedChain.parse(pkg).add(clsName).toString();
|
||||
name = DottedChain.parseWithSuffix(pkg).addWithSuffix(clsNameWithSuffix).toString();
|
||||
name = "#PCODE abc:" + m.group(1) + ",body:" + m.group(6) + ";" + name;
|
||||
} else {
|
||||
name = DottedChain.parse(pkg).add(clsName).toString();
|
||||
name = DottedChain.parseWithSuffix(pkg).addWithSuffix(clsNameWithSuffix).toString();
|
||||
}
|
||||
}
|
||||
modulePaths.put(file, name);
|
||||
|
||||
Reference in New Issue
Block a user