Minor, added Contract to JetPsiUtil.deparenthesize()
This commit is contained in:
committed by
Alexander Udalov
parent
9aa5e85bde
commit
3dea4bc07d
@@ -76,6 +76,7 @@ public class JetPsiUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
|
@Contract("!null -> !null")
|
||||||
public static JetExpression deparenthesize(@Nullable JetExpression expression) {
|
public static JetExpression deparenthesize(@Nullable JetExpression expression) {
|
||||||
return deparenthesize(expression, /* deparenthesizeBinaryExpressionWithTypeRHS = */ true);
|
return deparenthesize(expression, /* deparenthesizeBinaryExpressionWithTypeRHS = */ true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user