Tag[] (String string) { return switch (string) { case "add" -> new Tag[]{new Tag("put", childOf(CommonClassNames.JAVA_LANG_ITERABLE)), new Tag("sum", childOf("java.math.BigDecimal", "java.math.BigInteger")), new Tag("plus", childOf("java.math.BigDecimal", "java.math.BigInteger"))}; case "append" -> anyFrom("add"); case "apply" -> anyFrom("invoke", "do", "call"); case "assert" -> anyFrom("expect", "verify", "test", "ensure"); case "build" -> anyFrom("create", "make", "generate"); case "call" -> anyFrom("execute", "run"); case "check" -> anyFrom("test", "match"); case "count" -> anyFrom("size", "length"); case "convert" -> anyFrom("map"); case "create" -> anyFrom("build", "make", "generate"); case "delete" -> anyFrom("remove"); case "do" -> anyFrom("run", "execute", "call"); case "execute" -> anyFrom("run", "do", "call"); case "expect" -> anyFrom("verify", "assert", "test"); case "from" -> anyFrom("of", "parse"); case "generate" -> anyFrom("create", "build"); case "invoke" -> anyFrom("apply", "do", "call"); case "has" -> anyFrom("contains", "check"); case "length" -> anyFrom("size", "count"); case "load" -> anyFrom("read"); case "match" -> anyFrom("test", "check"); case "of" -> anyFrom("parse", "from"); case "parse" -> anyFrom("of", "from"); case "perform" -> anyFrom("execute", "run", "do"); case "persist" -> anyFrom("save"); case "print" -> anyFrom("write"); case "put" -> new Tag[]{new Tag("add", childOf(CommonClassNames.JAVA_UTIL_MAP))}; case "remove" -> anyFrom("delete"); case "run" -> anyFrom("start", "execute", "call"); case "save" -> anyFrom("persist", "write"); case "size" -> anyFrom("length", "count"); case "start" -> anyFrom("call", "execute", "run"); case "subtract" -> anyFrom("minus"); case "test" -> anyFrom("check", "match"); case "validate" -> anyFrom("test", "check"); case "verify" -> anyFrom("expect", "assert", "test"); case "write" -> anyFrom("print"); default -> anyFrom(); }; }