sanitizeAsJavaIdentifier function moved to JvmAbi
This commit is contained in:
@@ -235,9 +235,4 @@ public class JvmCodegenUtil {
|
||||
av.visit(JvmAnnotationNames.MODULE_NAME_FIELD_NAME, name);
|
||||
}
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static String sanitizeAsJavaIdentifier(@NotNull String str) {
|
||||
return PackagePartClassUtils.sanitizeAsJavaIdentifier(str);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -880,7 +880,7 @@ public class JetTypeMapper {
|
||||
}
|
||||
|
||||
if (!(descriptor instanceof ConstructorDescriptor) && descriptor.getVisibility() == Visibilities.INTERNAL) {
|
||||
return name + "$" + JvmCodegenUtil.sanitizeAsJavaIdentifier(moduleName);
|
||||
return name + "$" + JvmAbi.sanitizeAsJavaIdentifier(moduleName);
|
||||
}
|
||||
|
||||
return name;
|
||||
|
||||
Reference in New Issue
Block a user