CallMatcher () { CallMatcher[] matchers = JvmPrimitiveTypeKind.getBoxedFqns() .stream() .filter(fqn -> !fqn.equals(CommonClassNames.JAVA_LANG_CHARACTER)) .map(fqn -> CallMatcher.staticCall(fqn, "valueOf") .parameterTypes(CommonClassNames.JAVA_LANG_STRING)) .toArray(CallMatcher[]::new); return CallMatcher.anyOf(matchers); }