From 3dea4bc07d1e957b84407a7a039edfbd2132c4e3 Mon Sep 17 00:00:00 2001 From: Denis Zharkov Date: Mon, 30 Jun 2014 17:39:38 +0400 Subject: [PATCH] Minor, added Contract to JetPsiUtil.deparenthesize() --- compiler/frontend/src/org/jetbrains/jet/lang/psi/JetPsiUtil.java | 1 + 1 file changed, 1 insertion(+) 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 0484b6b4dc0..eae6507a6c2 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetPsiUtil.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetPsiUtil.java @@ -76,6 +76,7 @@ public class JetPsiUtil { } @Nullable + @Contract("!null -> !null") public static JetExpression deparenthesize(@Nullable JetExpression expression) { return deparenthesize(expression, /* deparenthesizeBinaryExpressionWithTypeRHS = */ true); }