Class Reflector

java.lang.Object
org.miaixz.bus.mapper.support.Reflector

public class Reflector extends Object
反射支持
Since:
Java 17+
Author:
Kimi Liu
  • Field Details

    • CLASS_CACHE

      public static final org.apache.ibatis.cache.Cache CLASS_CACHE
  • Constructor Details

    • Reflector

      public Reflector()
  • Method Details

    • getMapperClass

      public static Class<?> getMapperClass(String msId)
      根据msId获取接口类
      Parameters:
      msId - 方法
      Returns:
      the class
    • fnToFieldName

      public static String fnToFieldName(org.miaixz.bus.core.center.function.FunctionX fn)
    • fnToFieldNames

      public static String[] fnToFieldNames(org.miaixz.bus.core.center.function.FunctionX... fns)
    • getMethodName

      public static String getMethodName(org.apache.ibatis.mapping.MappedStatement ms)
      获取执行的方法名
      Parameters:
      ms - MappedStatement
      Returns:
      the string
    • getMethodName

      public static String getMethodName(String msId)
      获取执行的方法名
      Parameters:
      msId - 方法
      Returns:
      the string