Wed, 06 Sep 2023 22:55:42 +0200
first minor code improvements
package de.unixwork.uwproj; import java.util.List; public class OptionValue { Option option; String value; TargetData targetData = new TargetData(); public OptionValue(Option opt) { option = opt; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } public List<String> getDependencies() { return targetData.getDependencies(); } public List<Define> getDefines() { return targetData.getDefines(); } public void setTargetData(TargetData data) { targetData = data; } public String getFunc() { return option.getValueFunc(value); } public String getMake() { return targetData.getMake(); } public boolean hasMake() { return !targetData.getMake().trim().isEmpty(); } }