class XLogUtils {

    public static List<String> getPkgPrefixesForCoarseMatchXLogMethods(List<XLogMethod> xLogMethods,
            int pkgSectionSize) {
        if (xLogMethods == null || xLogMethods.size() == 0) {
            return new ArrayList<String>();
        }
        List<String> classNames = new ArrayList<String>();
        for (XLogMethod xLogMethod : xLogMethods) {
            if (xLogMethod != null && xLogMethod.getClassName() != null
                    && xLogMethod.getClassName().length() > 0) {
                classNames.add(xLogMethod.getClassName().replaceAll("\\$", "."));
            }
        }
        return getPkgPrefixesForCoarseMatch(classNames, pkgSectionSize);
    }

    private  XLogUtils();

}