@Nullable
public ClassDescriptor resolveClassDescriptor(@NotNull JetScope scope, @NotNull JetClass classElement) {
ClassDescriptorImpl classDescriptor = new ClassDescriptorImpl(
scope.getContainingDeclaration(),
AttributeResolver.INSTANCE.resolveAttributes(classElement.getModifierList()),
<BUG>safeName(classElement.getName()));
</BUG>
trace.recordDeclarationResolution(classElement, classDescriptor);
WritableScope parameterScope = semanticServices.createWritableScope(scope, classDescriptor);
List<TypeParameterDescriptor> typeParameters

@Nullable
public ClassDescriptor resolveClassDescriptor(@NotNull JetScope scope, @NotNull JetClass classElement) {
ClassDescriptorImpl classDescriptor = new ClassDescriptorImpl(
scope.getContainingDeclaration(),
AttributeResolver.INSTANCE.resolveAttributes(classElement.getModifierList()),
JetPsiUtil.safeName(classElement.getName()));
trace.recordDeclarationResolution(classElement, classDescriptor);
WritableScope parameterScope = semanticServices.createWritableScope(scope, classDescriptor);
List<TypeParameterDescriptor> typeParameters
