src/main/java/com/mistraltech/smog/proxy/javassist/util/NameUtils.java
public static String removePrefix(String name, String... prefixes) {
        for (String prefix : prefixes) {
            if (name.startsWith(prefix) && name.length() > prefix.length()) {
                return name.substring(prefix.length());
            }
        }

        return name;
    }
/**
     * Strip off any of a list of prefixes and return the result. Only the first matching prefix is removed. It may be
     * that no prefix is stripped if none of the prefixes matches.
     *
     * @param name the input name
     * @param prefixes list of prefixes to strip off
     * @return the resulting name
     */
Strip off any of a list of prefixes and return the result. Only the first matching prefix is removed. It may be
that no prefix is stripped if none of the prefixes matches.

@param name the input name
@param prefixes list of prefixes to strip off
@return the resulting name
Strip off any of a list of prefixes and return the result . Only the first matching prefix is removed . It may be that no prefix is stripped if none of the prefixes matches . @param name the input name @param prefixes list of prefixes to strip off @return the resulting name
public static String removePrefix(String name, String... prefixes) {
        for (String prefix : prefixes) {
            if (name.startsWith(prefix) && name.length() > prefix.length()) {
                return name.substring(prefix.length());
            }
        }
        return name;
    }
public static String removePrefix ( String name , String ... prefixes ) { for ( String prefix : prefixes ) { if ( name . startsWith ( prefix ) && name . length ( ) > prefix . length ( ) ) { return name . substring ( prefix . length ( ) ) ; } } return name ; }
Strip off any of a list of prefixes and return the result.
Strip off any of a list of prefixes and return the result .