Fix build after subtle change of Enum.name from function to property

This commit is contained in:
Alexander Udalov
2015-10-14 22:00:48 +03:00
parent 57205f5721
commit bd5f068454
3 changed files with 4 additions and 4 deletions
@@ -44,7 +44,7 @@ public enum JvmPrimitiveType {
for (JvmPrimitiveType type : values()) {
WRAPPERS_CLASS_NAMES.add(type.getWrapperFqName());
TYPE_BY_NAME.put(type.getName(), type);
TYPE_BY_NAME.put(type.getJavaKeywordName(), type);
TYPE_BY_PRIMITIVE_TYPE.put(type.getPrimitiveType(), type);
}
}
@@ -85,7 +85,7 @@ public enum JvmPrimitiveType {
}
@NotNull
public String getName() {
public String getJavaKeywordName() {
return name;
}