Class ExpressionExtension


  • public class ExpressionExtension
    extends Object
    • Constructor Detail

      • ExpressionExtension

        public ExpressionExtension()
    • Method Detail

      • 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)
      • getArrayDimension

        public static long getArrayDimension​(Expression me)