Class ExpressionExtension

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

public class ExpressionExtension extends Object
  • Constructor Details

    • ExpressionExtension

      public ExpressionExtension()
  • Method Details

    • getType

      public static Type getType(Expression me)
      Returns the type of the expression considering all concrete subtypes of the Expression.
      Parameters:
      me - the expression.
      Returns:
      type of expression
    • getAlternativeType

      public static Type getAlternativeType(Expression me)
    • getOneType

      public static Type getOneType(Expression me, boolean alternative)
    • getOneTypeReference

      public static TypeReference getOneTypeReference(Expression me, boolean alternative)
    • getArrayDimension

      public static long getArrayDimension(Expression me)