Minor optimization in KotlinBuiltIns.isSpecialClassWithNoSupertypes

This commit is contained in:
Alexander Udalov
2014-05-14 22:28:52 +04:00
parent 5fdb9e6218
commit 3ffa7cdcf8
4 changed files with 7 additions and 6 deletions
@@ -473,7 +473,7 @@ public class LazyClassDescriptor extends ClassDescriptorBase implements ClassDes
new Function0<Supertypes>() {
@Override
public Supertypes invoke() {
if (KotlinBuiltIns.isSpecialClassWithNoSupertypes(LazyClassDescriptor.this)) {
if (KotlinBuiltIns.getInstance().isSpecialClassWithNoSupertypes(LazyClassDescriptor.this)) {
return new Supertypes(Collections.<JetType>emptyList());
}