if (StringUtils.isNotEmpty(methodName)) { List list = new ArrayList(Arrays.asList(CAUSE_METHOD_NAMES)); list.add(methodName); CAUSE_METHOD_NAMES = (String[]) list.toArray(new String[list.size()]);
if (StringUtils.isNotEmpty(methodName) && !isCauseMethodName(methodName)) { List list = getCauseMethodNameList(); if (list.add(methodName)) { CAUSE_METHOD_NAMES = toArray(list); }
    public static void addCauseMethodName(String methodName) {        if (StringUtils.isNotEmpty(methodName)) {            List list = new ArrayList(Arrays.asList(CAUSE_METHOD_NAMES));            list.add(methodName);            CAUSE_METHOD_NAMES = (String[]) list.toArray(new String[list.size()]);        }    }