Minor. Removed unused function.

This commit is contained in:
Evgeny Gerashchenko
2015-03-02 16:24:47 +03:00
parent 48b0afd84d
commit a56b1da11f
@@ -75,13 +75,6 @@ public final class BindingUtils {
return getDescriptorForExpression(context, declaration, PropertyDescriptor.class);
}
@NotNull
public static JetFunction getFunctionForDescriptor(@NotNull SimpleFunctionDescriptor descriptor) {
PsiElement result = DescriptorToSourceUtils.callableDescriptorToDeclaration(descriptor);
assert result instanceof JetFunction : message(descriptor, "SimpleFunctionDescriptor should have declaration of type JetFunction");
return (JetFunction) result;
}
@NotNull
private static JetParameter getParameterForDescriptor(@NotNull ValueParameterDescriptor descriptor) {
PsiElement result = DescriptorToSourceUtils.descriptorToDeclaration(descriptor);