Enum Class ReflectionHelper.ArgumentsMatchKind

java.lang.Object
java.lang.Enum<ReflectionHelper.ArgumentsMatchKind>
cn.taketoday.expression.spel.support.ReflectionHelper.ArgumentsMatchKind
所有已实现的接口:
Serializable, Comparable<ReflectionHelper.ArgumentsMatchKind>, Constable
封闭类:
ReflectionHelper

static enum ReflectionHelper.ArgumentsMatchKind extends Enum<ReflectionHelper.ArgumentsMatchKind>
Arguments match kinds.
  • 枚举常量详细资料

    • EXACT

      public static final ReflectionHelper.ArgumentsMatchKind EXACT
      An exact match is where the parameter types exactly match what the method/constructor is expecting.
    • CLOSE

      public static final ReflectionHelper.ArgumentsMatchKind CLOSE
      A close match is where the parameter types either exactly match or are assignment-compatible.
    • REQUIRES_CONVERSION

      public static final ReflectionHelper.ArgumentsMatchKind REQUIRES_CONVERSION
      A conversion match is where the type converter must be used to transform some of the parameter types.
  • 构造器详细资料

    • ArgumentsMatchKind

      private ArgumentsMatchKind()
  • 方法详细资料

    • values

      public static ReflectionHelper.ArgumentsMatchKind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ReflectionHelper.ArgumentsMatchKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值