public static <T> T sensitiveFilter(T bean, boolean isGreedMatch, SensitiveProcessor sensitiveProcessor) {
		final String jsonText = JSONUtil.toJsonStr(bean);
		@SuppressWarnings("unchecked") final Class<T> c = (Class<T>) bean.getClass();
		return JSONUtil.toBean(sensitiveFilter(jsonText, isGreedMatch, sensitiveProcessor), c);
	}
@Test
	public void testSensitiveFilter() {
		List<String> wordList = new ArrayList<>();
		wordList.add("大");
		wordList.add("大土豆");
		wordList.add("土豆");
		wordList.add("刚出锅");
		wordList.add("出锅");
		TestBean bean = new TestBean();
		bean.setStr("我有一颗$大土^豆，刚出锅的");
		bean.setNum(100);
		SensitiveUtil.init(wordList);
		bean = SensitiveUtil.sensitiveFilter(bean, true, null);
		assertEquals(bean.getStr(), "我有一颗$****，***的");
	}