Implement EnumEntrySyntheticClassDescriptor#toString()

This commit is contained in:
Pavel V. Talanov
2014-11-10 18:50:56 +03:00
parent 01cf60b834
commit b7ca11cee1
@@ -165,6 +165,11 @@ public class EnumEntrySyntheticClassDescriptor extends ClassDescriptorBase {
return Annotations.EMPTY;
}
@Override
public String toString() {
return "enum entry " + getName();
}
private class EnumEntryScope extends JetScopeImpl {
private final MemoizedFunctionToNotNull<Name, Collection<FunctionDescriptor>> functions;
private final MemoizedFunctionToNotNull<Name, Collection<PropertyDescriptor>> properties;