Interface CtNewArray<T>

    • Method Detail

      • getDimensionExpressions

        java.util.List<CtExpression<java.lang.Integer>> getDimensionExpressions()
        Gets the expressions that define the array's dimensions.
      • setDimensionExpressions

        <C extends CtNewArray<T>> C setDimensionExpressions​(java.util.List<CtExpression<java.lang.Integer>> dimensions)
        Sets the expressions that define the array's dimensions.
      • addDimensionExpression

        <C extends CtNewArray<T>> C addDimensionExpression​(CtExpression<java.lang.Integer> dimension)
        Adds a dimension expression.
      • removeDimensionExpression

        boolean removeDimensionExpression​(CtExpression<java.lang.Integer> dimension)
        Removes a dimension expression.
      • getElements

        java.util.List<CtExpression<?>> getElements()
        Gets the initialization expressions.
      • setElements

        <C extends CtNewArray<T>> C setElements​(java.util.List<CtExpression<?>> expression)
        Sets the initialization expressions.
      • removeElement

        boolean removeElement​(CtExpression<?> expression)
        Removes an element.