do not store jvm class name in descriptor name

This commit is contained in:
Stepan Koltsov
2012-06-02 02:55:42 +04:00
parent fc6c57e17a
commit 4a01a55480
4 changed files with 32 additions and 23 deletions
@@ -41,7 +41,7 @@ public class Name implements Comparable<Name> {
if (special) {
throw new IllegalStateException("not identifier: " + this);
}
return name;
return getName();
}
public boolean isSpecial() {
@@ -24,7 +24,7 @@ import org.jetbrains.annotations.NotNull;
public class NameUtils {
public static boolean isValidIdentified(@NotNull String name) {
return name.length() > 0 && !name.startsWith("<") && !name.contains(".");
return name.length() > 0 && !name.startsWith("<") && !name.contains(".") && !name.contains("/");
}
public static void requireIdentifier(@NotNull String name) {