From b9be11263f4fe431a2aa09d614146d29e837054c Mon Sep 17 00:00:00 2001 From: Alexey Sedunov Date: Tue, 25 Feb 2014 18:28:34 +0400 Subject: [PATCH] Remove unused method --- .../src/org/jetbrains/jet/lang/psi/JetPsiUtil.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetPsiUtil.java b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetPsiUtil.java index 488acfe1946..d992ed256a0 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetPsiUtil.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetPsiUtil.java @@ -445,17 +445,6 @@ public class JetPsiUtil { return callOperationNode != null && callOperationNode.getElementType() == JetTokens.SAFE_ACCESS; } - public static boolean isFunctionLiteralWithoutDeclaredParameterTypes(@Nullable JetExpression expression) { - if (!(expression instanceof JetFunctionLiteralExpression)) return false; - JetFunctionLiteralExpression functionLiteral = (JetFunctionLiteralExpression) expression; - for (JetParameter parameter : functionLiteral.getValueParameters()) { - if (parameter.getTypeReference() != null) { - return false; - } - } - return true; - } - public static boolean isScriptDeclaration(@NotNull JetDeclaration namedDeclaration) { return getScript(namedDeclaration) != null; }