Class LoopStatement

    • Constructor Detail

      • LoopStatement

        public LoopStatement()
    • Method Detail

      • isIteratorType

        public static boolean isIteratorType​(IType typeIn)
      • getArrayComponentType

        public static IType getArrayComponentType​(IType typeIn)
      • makeIterator

        public static Iterator makeIterator​(Object obj,
                                            IType typeHint)
        A helper method for creating Iterators for use with 'exists' and 'foreach' elements. Primarily for use with generated Java code (not necessary for direct interpretation).
      • getArrayLength

        public static int getArrayLength​(Object obj)
        Return the length of the specified Array or Collection.