src/org/nutz/lang/util/MethodParamNamesScaner.java
public static List<String> getParamNames(Method method) {
        try {
            int size = method.getParameterTypes().length;
            if (size == 0)
                return new ArrayList<String>(0);
            List<String> list = ClassMetaReader.getParamNames(method.getDeclaringClass()).get(ClassMetaReader.getKey(method));
            if (list == null)
                return null;
            if (list.size() == size)
                return list;
            if (list.size() > size)
                return list.subList(0, size);
            return null;
        } catch (Throwable e) {
            throw new RuntimeException(e);
        }
    }
public static List<String> getParamNames(Method method) {
        try {
            int size = method.getParameterTypes().length;
            if (size == 0)
                return new ArrayList<String>(0);
            List<String> list = ClassMetaReader.getParamNames(method.getDeclaringClass()).get(ClassMetaReader.getKey(method));
            if (list == null)
                return null;
            if (list.size() == size)
                return list;
            if (list.size() > size)
                return list.subList(0, size);
            return null;
        } catch (Throwable e) {
            throw new RuntimeException(e);
        }
    }
获取Method的形参名称列表
@param method 需要解析的方法
@return 形参名称列表,如果没有调试信息,将返回null