Package yapion.utils

Class ModifierUtils


  • public class ModifierUtils
    extends java.lang.Object
    • Method Summary

      Modifier and Type Method Description
      static boolean removed​(java.lang.reflect.Field field)
      Checks if a given field should be serialized or not.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • removed

        public static boolean removed​(java.lang.reflect.Field field)
        Checks if a given field should be serialized or not. Returns true if it should not be serialized.
        Parameters:
        field - Field to check
        Returns:
        true if field should not be serialized; false otherwise.