/** Adds an input to the list. */ default <T> MutableModuleItem<T> addInput(final String name, final Class<T> type) { final DefaultMutableModuleItem<T> item = new DefaultMutableModuleItem<>(this, name, type); addInput(item); return item; }
/** Adds an output to the list. */ default <T> MutableModuleItem<T> addOutput(final String name, final Class<T> type) { final DefaultMutableModuleItem<T> item = new DefaultMutableModuleItem<>(this, name, type); addOutput(item); return item; }
/** Adds an output to the list. */ default void addOutput(final ModuleItem<?> output) { getInfo().addOutput(output); }
/** Adds an output to the list. */ default void addOutput(final ModuleItem<?> output) { getInfo().addOutput(output); }
/** Adds an input to the list. */ default <T> MutableModuleItem<T> addInput(final String name, final Class<T> type) { final DefaultMutableModuleItem<T> item = new DefaultMutableModuleItem<>(this, name, type); addInput(item); return item; }
/** Adds an output to the list. */ default <T> MutableModuleItem<T> addOutput(final String name, final Class<T> type) { final DefaultMutableModuleItem<T> item = new DefaultMutableModuleItem<>(this, name, type); addOutput(item); return item; }
/** Removes an input from the list. */ default void removeInput(final ModuleItem<?> input) { getInfo().removeInput(input); }
/** Adds an input to the list. */ default void addInput(final ModuleItem<?> input) { getInfo().addInput(input); }
/** Removes an output from the list. */ default void removeOutput(final ModuleItem<?> output) { getInfo().removeOutput(output); }
/** Adds an input to the list. */ default void addInput(final ModuleItem<?> input) { getInfo().addInput(input); }
/** Removes an output from the list. */ default void removeOutput(final ModuleItem<?> output) { getInfo().removeOutput(output); }
/** Removes an input from the list. */ default void removeInput(final ModuleItem<?> input) { getInfo().removeInput(input); }