Commit 350b6054 authored by Skylot's avatar Skylot

core: use aliased name for save class to file

parent 6a99d004
...@@ -107,9 +107,10 @@ public final class ClassInfo { ...@@ -107,9 +107,10 @@ public final class ClassInfo {
} }
public String getFullPath() { public String getFullPath() {
return pkg.replace('.', File.separatorChar) ClassInfo alias = getAlias();
return alias.getPackage().replace('.', File.separatorChar)
+ File.separatorChar + File.separatorChar
+ getNameWithoutPackage().replace('.', '_'); + alias.getNameWithoutPackage().replace('.', '_');
} }
public String getFullName() { public String getFullName() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment