类 Reflective


  • public final class Reflective
    extends java.lang.Object
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      static java.util.Set<java.lang.String> KEYWORDS  
      static java.lang.String MAIN  
      static java.lang.Object NO_MATCH  
    • 构造器概要

      构造器 
      构造器 说明
      Reflective()  
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static java.lang.Object invoke​(CommandSession session, java.lang.Object target, java.lang.String name, java.util.List<java.lang.Object> args)
      invokes the named method on the given target using the supplied args, which are converted if necessary.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • NO_MATCH

        public static final java.lang.Object NO_MATCH
      • MAIN

        public static final java.lang.String MAIN
        另请参阅:
        常量字段值
      • KEYWORDS

        public static final java.util.Set<java.lang.String> KEYWORDS
    • 构造器详细资料

      • Reflective

        public Reflective()
    • 方法详细资料

      • invoke

        public static java.lang.Object invoke​(CommandSession session,
                                              java.lang.Object target,
                                              java.lang.String name,
                                              java.util.List<java.lang.Object> args)
                                       throws java.lang.Exception
        invokes the named method on the given target using the supplied args, which are converted if necessary.
        参数:
        session -
        target -
        name -
        args -
        返回:
        the result of the invoked method
        抛出:
        java.lang.Exception