org.jetbrains.kotlin.psi
Class JetPsiUnparsingUtils
java.lang.Object
org.jetbrains.kotlin.psi.JetPsiUnparsingUtils
public class JetPsiUnparsingUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toIf
@NotNull
public static java.lang.String toIf(@Nullable
JetExpression condition,
@Nullable
JetExpression thenExpression,
@Nullable
JetExpression elseExpression)
toIf
@NotNull
public static java.lang.String toIf(@NotNull
java.lang.String condition,
@NotNull
java.lang.String thenExpression,
@Nullable
java.lang.String elseExpression)
toBinaryExpression
@NotNull
public static java.lang.String toBinaryExpression(@Nullable
JetExpression left,
@NotNull
java.lang.String op,
@Nullable
JetElement right)
toBinaryExpression
@NotNull
public static java.lang.String toBinaryExpression(@NotNull
java.lang.String left,
@NotNull
java.lang.String op,
@NotNull
java.lang.String right)
parenthesizeIfNeeded
@NotNull
public static java.lang.String parenthesizeIfNeeded(@Nullable
JetExpression expression)
parenthesizeTextIfNeeded
@NotNull
public static java.lang.String parenthesizeTextIfNeeded(@NotNull
java.lang.String expressionText)