rename NamedFunctionDescriptorErrorImpl -> ErrorNamedFunctionDescriptorImpl

This commit is contained in:
Stepan Koltsov
2012-02-10 20:40:47 +04:00
parent 4b94eb5e2b
commit 4ec59edb9e
2 changed files with 4 additions and 4 deletions
@@ -6,7 +6,7 @@ import org.jetbrains.jet.lang.descriptors.*;
import org.jetbrains.jet.lang.descriptors.annotations.AnnotationDescriptor; import org.jetbrains.jet.lang.descriptors.annotations.AnnotationDescriptor;
import org.jetbrains.jet.lang.resolve.scopes.JetScope; import org.jetbrains.jet.lang.resolve.scopes.JetScope;
import org.jetbrains.jet.lang.resolve.scopes.receivers.ReceiverDescriptor; import org.jetbrains.jet.lang.resolve.scopes.receivers.ReceiverDescriptor;
import org.jetbrains.jet.lang.types.error.NamedFunctionDescriptorErrorImpl; import org.jetbrains.jet.lang.types.error.ErrorNamedFunctionDescriptorImpl;
import java.util.*; import java.util.*;
@@ -147,7 +147,7 @@ public class ErrorUtils {
private static final Set<VariableDescriptor> ERROR_PROPERTY_GROUP = Collections.singleton(ERROR_PROPERTY); private static final Set<VariableDescriptor> ERROR_PROPERTY_GROUP = Collections.singleton(ERROR_PROPERTY);
private static NamedFunctionDescriptor createErrorFunction(ErrorScope ownerScope) { private static NamedFunctionDescriptor createErrorFunction(ErrorScope ownerScope) {
NamedFunctionDescriptorErrorImpl function = new NamedFunctionDescriptorErrorImpl(ownerScope); ErrorNamedFunctionDescriptorImpl function = new ErrorNamedFunctionDescriptorImpl(ownerScope);
function.initialize( function.initialize(
null, null,
ReceiverDescriptor.NO_RECEIVER, ReceiverDescriptor.NO_RECEIVER,
@@ -13,12 +13,12 @@ import java.util.Collections;
/** /**
* @author Stepan Koltsov * @author Stepan Koltsov
*/ */
public class NamedFunctionDescriptorErrorImpl extends NamedFunctionDescriptorImpl { public class ErrorNamedFunctionDescriptorImpl extends NamedFunctionDescriptorImpl {
// used for diagnostic only // used for diagnostic only
@NotNull @NotNull
private final ErrorUtils.ErrorScope ownerScope; private final ErrorUtils.ErrorScope ownerScope;
public NamedFunctionDescriptorErrorImpl(ErrorUtils.ErrorScope ownerScope) { public ErrorNamedFunctionDescriptorImpl(ErrorUtils.ErrorScope ownerScope) {
super(ErrorUtils.getErrorClass(), Collections.<AnnotationDescriptor>emptyList(), "<ERROR FUNCTION>", Kind.DECLARATION); super(ErrorUtils.getErrorClass(), Collections.<AnnotationDescriptor>emptyList(), "<ERROR FUNCTION>", Kind.DECLARATION);
this.ownerScope = ownerScope; this.ownerScope = ownerScope;
} }