类 Fields


  • public class Fields
    extends java.lang.Object
    Utils for field.
    • 构造器概要

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

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static boolean isFinal​(java.lang.reflect.Field field)
      If is final field
      static boolean isPrivate​(java.lang.reflect.Field field)
      If is private field
      static boolean isProtected​(java.lang.reflect.Field field)
      If is protected field
      static boolean isPublic​(java.lang.reflect.Field field)
      If is public field
      static boolean isStatic​(java.lang.reflect.Field field)
      If is static field
      static boolean isTransient​(java.lang.reflect.Field field)
      If is transient field
      static boolean isVolatile​(java.lang.reflect.Field field)
      If is volatile field
      • 从类继承的方法 java.lang.Object

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

      • Fields

        public Fields()
    • 方法详细资料

      • isStatic

        public static boolean isStatic​(java.lang.reflect.Field field)
        If is static field
        参数:
        field - the field
        返回:
        true if is static field
      • isTransient

        public static boolean isTransient​(java.lang.reflect.Field field)
        If is transient field
        参数:
        field - the field
        返回:
        true if is transient field
      • isPrivate

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

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

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

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

        public static boolean isVolatile​(java.lang.reflect.Field field)
        If is volatile field
        参数:
        field - the field
        返回:
        true if is volatile field