Here you can find the source of printRules(List
public static void printRules(List<String> rules, Class<?> clazz)
//package com.java2s; //License from project: Apache License import java.util.List; public class Main { public static void printRules(List<String> rules, Class<?> clazz) { System.out.println("[" + clazz.getName() + "] applied rules: "); for (String rule : rules) { System.out.println(rule); }//w w w. ja v a 2s . c o m } }