String (@NotNull String name) { int nameEnd = !name.isEmpty() && name.charAt(name.length() - 1) == '/' ? name.length() - 1 : name.length(); name = name.substring(name.lastIndexOf('/', nameEnd-1) + 1, nameEnd); if (name.endsWith(UrlClassLoader.CLASS_EXTENSION)) { String name1 = name; int $ = name1.indexOf('$'); if ($ != -1) { name1 = name1.substring(0, $); } else { int index = name1.lastIndexOf('.'); if (index >= 0) name1 = name1.substring(0, index); } name = name1; } return name; }