001package org.unix4j.codegen.command.def;
002
003import java.util.Arrays;
004import java.util.List;
005
006import org.unix4j.codegen.def.AbstractElementDef;
007
008public class MethodDef extends AbstractElementDef {
009        public MethodDef(String name, String desc, boolean usesStandardInput, String... args) {
010                this.name = name;
011                this.desc = desc;
012                this.usesStandardInput = usesStandardInput;
013                this.args = Arrays.asList(args);
014        }
015        public final String name;
016        public final String desc;
017        public final boolean usesStandardInput;
018        public final List<String> args;
019}