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

com.github.paulosalonso.spel.builder.common.Method Maven / Gradle / Ivy

The newest version!
package com.github.paulosalonso.spel.builder.common;

import java.util.List;
import java.util.stream.Collectors;

public abstract class Method extends Expression {

    protected abstract List getParameters();

    @Override
    protected String getSuffix() {
        return String.format("(%s)", getParameters().stream()
                .map(Parameter::build)
                .collect(Collectors.joining(", ")));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy