Class ConditionalExpressionExtension

java.lang.Object
org.emftext.language.java.extensions.expressions.ConditionalExpressionExtension

public class ConditionalExpressionExtension extends Object
  • Constructor Details

    • ConditionalExpressionExtension

      public ConditionalExpressionExtension()
  • Method Details

    • getExpressionElse

      @Deprecated public static AssignmentExpressionChild getExpressionElse(ConditionalExpression me)
      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.