Interface CtForEach

    • Method Detail

      • getExpression

        CtExpression<?> getExpression()
        Gets the iterated expression (an iterable of an array).
      • getVariable

        CtLocalVariable<?> getVariable()
        Gets the variable that references the currently iterated element.
      • setExpression

        <T extends CtForEach> T setExpression​(CtExpression<?> expression)
        Sets the iterated expression (an iterable of an array).
      • setVariable

        <T extends CtForEach> T setVariable​(CtLocalVariable<?> variable)
        Sets the variable that references the currently iterated element.