class SofaProtoUtils {

    public static Set<String> getMethodNames(String interfaceId) {
        HashSet<String> result = new HashSet<>();
        Class interfaceClass = ClassUtils.forName(interfaceId);
        Method[] methods = interfaceClass.getMethods();
        for (Method method : methods) {
            result.add(method.getName());
        }
        return result;
    }

}