Mica 官方网站

vuePress-theme-reco 如梦技术    2021
Mica 官方网站
文档
组件集
VIP
博文
友情链接
关于
GitHub

如梦技术

0

Article

9

Tag

文档
组件集
VIP
博文
友情链接
关于
GitHub
  • 认识 Mica

    • Mica 简介
    • 快速开始
    • 发行版本
  • mica工具类

    • mica-core模块说明
    • $工具集
    • SystemCode
    • ServiceException
    • Bean-validator分组
    • StringUtil
    • SystemUtil
    • BeanUtil
    • FileUtil
    • JsonUtil
    • UrlUtil
    • WebUtil
    • INetUtil
    • IoUtil
    • NumberUtil
    • ConvertUtil
    • ThreadUtil
    • PathUtil
    • HexUtil
    • AesUtil
    • DesUtil
    • RsaUtil
    • Base64Util
    • DigestUtil
    • DateUtil
    • ObjectUtil
    • ResourceUtil
    • ThreadLocalUtil
    • RuntimeUtil
    • ReflectUtil
    • ClassUtil
    • CollectionUtil
    • Unchecked(Lambda受检异常)
    • Exceptions
    • DecimalNum
    • Once
    • CountMap
    • Version
    • xpath解析xml

vuePress-theme-reco 如梦技术    2021

类工具类


如梦技术

# 类工具类

类名: ClassUtil

# getMethodParameter

/**
 * 获取方法参数信息
 *
 * @param constructor    构造器
 * @param parameterIndex 参数序号
 * @return {MethodParameter}
 */
ClassUtil.getMethodParameter(Constructor<?> constructor, int parameterIndex);

# getMethodParameter

/**
 * 获取方法参数信息
 *
 * @param method         方法
 * @param parameterIndex 参数序号
 * @return {MethodParameter}
 */
ClassUtil.getMethodParameter(Method method, int parameterIndex);

# getAnnotation

/**
 * 获取Annotation
 *
 * @param method         Method
 * @param annotationType 注解类
 * @param <A>            泛型标记
 * @return {Annotation}
 */
ClassUtil.getAnnotation(Method method, Class<A> annotationType);

# getAnnotation

/**
 * 获取Annotation
 *
 * @param handlerMethod  HandlerMethod
 * @param annotationType 注解类
 * @param <A>            泛型标记
 * @return {Annotation}
 */
ClassUtil.getAnnotation(HandlerMethod handlerMethod, Class<A> annotationType);

# isAnnotated

/**
 * 判断是否有注解 Annotation
 *
 * @param method         Method
 * @param annotationType 注解类
 * @param <A>            泛型标记
 * @return {boolean}
 */
ClassUtil.isAnnotated(Method method, Class<A> annotationType);

# 微信 vs 公众号

如梦技术

精彩内容每日推荐!!!

编辑此页面
更新时间: 9/8/2020, 8:42:56 PM
  • getMethodParameter
  • getMethodParameter
  • getAnnotation
  • getAnnotation
  • isAnnotated
  • 微信 vs 公众号