FunctionSignature { public String formatTypes() { return getParamTypeList().stream() .map(ExprType::typeName) .collect(Collectors.joining(",", "[", "]")); }  int match(FunctionSignature functionSignature); String formatTypes(); static final Integer NOT_MATCH; static final Integer EXACTLY_MATCH; }
@Test void format_types() { FunctionSignature unresolvedFunSig = new FunctionSignature(unresolvedFuncName, unresolvedParamTypeList); assertEquals("[INTEGER,FLOAT]", unresolvedFunSig.formatTypes()); }