Class ConditionalExpressionExtension
java.lang.Object
org.emftext.language.java.extensions.expressions.ConditionalExpressionExtension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AssignmentExpressionChild
Deprecated.Use getGeneralExpressionElse().static void
setExpressionElse
(ConditionalExpression me, AssignmentExpressionChild newChild) Deprecated.Use setGeneralExpressionElse(Expression).
-
Constructor Details
-
ConditionalExpressionExtension
public ConditionalExpressionExtension()
-
-
Method Details
-
getExpressionElse
Deprecated.Use getGeneralExpressionElse().Gets the expression of the else case. This is a legacy method to provide a stable and backwards-compatible API.- Parameters:
me
- the ConditionalExpression for which the else expression is returned.- Returns:
- the expression of the else case.
-
setExpressionElse
@Deprecated public static void setExpressionElse(ConditionalExpression me, AssignmentExpressionChild newChild) Deprecated.Use setGeneralExpressionElse(Expression).Sets the expression for the else case. This is a legacy method to provide a stable and backwards-compatible API.- Parameters:
me
- the ConditionalExpression for which the else case is set.newChild
- the new child for the else case.
-