All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cloudbees.groovy.cps.impl.NewArrayFromInitializersBlock Maven / Gradle / Ivy

package com.cloudbees.groovy.cps.impl;

import com.cloudbees.groovy.cps.Block;
import com.cloudbees.groovy.cps.Builder;

/**
 * @see Builder#newArrayFromInitializers
 */
public class NewArrayFromInitializersBlock extends CollectionLiteralBlock {

    public NewArrayFromInitializersBlock(Block... args) {
        super(args);
    }

    @Override
    protected Object toCollection(Object[] result) {
        return result;
    }

    private static final long serialVersionUID = 1L;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy