类 Methods


  • public class Methods
    extends java.lang.Object
    Util class for method
    • 构造器概要

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

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static boolean isAbstract​(java.lang.reflect.Method method)
      If is abstract method
      static boolean isFinal​(java.lang.reflect.Method method)
      If is final method
      static boolean isNative​(java.lang.reflect.Method method)
      If is native method
      static boolean isPrivate​(java.lang.reflect.Method method)
      If is private method
      static boolean isProtected​(java.lang.reflect.Method method)
      If is protected method
      static boolean isPublic​(java.lang.reflect.Method method)
      If is public method
      static boolean isStatic​(java.lang.reflect.Method method)
      If is static method
      static boolean isSynchronized​(java.lang.reflect.Method method)
      If is synchronized method
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • Methods

        public Methods()
    • 方法详细资料

      • isStatic

        public static boolean isStatic​(java.lang.reflect.Method method)
        If is static method
        参数:
        method - the method
        返回:
        true if is static method
      • isPrivate

        public static boolean isPrivate​(java.lang.reflect.Method method)
        If is private method
        参数:
        method - the method
        返回:
        true if is private method
      • isPublic

        public static boolean isPublic​(java.lang.reflect.Method method)
        If is public method
        参数:
        method - the method
        返回:
        true if is public method
      • isProtected

        public static boolean isProtected​(java.lang.reflect.Method method)
        If is protected method
        参数:
        method - the method
        返回:
        true if is protected method
      • isAbstract

        public static boolean isAbstract​(java.lang.reflect.Method method)
        If is abstract method
        参数:
        method - the method
        返回:
        true if is abstract method
      • isFinal

        public static boolean isFinal​(java.lang.reflect.Method method)
        If is final method
        参数:
        method - the method
        返回:
        true if is final method
      • isSynchronized

        public static boolean isSynchronized​(java.lang.reflect.Method method)
        If is synchronized method
        参数:
        method - the method
        返回:
        true if is synchronized method
      • isNative

        public static boolean isNative​(java.lang.reflect.Method method)
        If is native method
        参数:
        method - the method
        返回:
        true if is native method