Minor. Removed unused function.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user