Class ReflectionUtils


  • public class ReflectionUtils
    extends Object
    Common methods for working with reflections.
    Since:
    2.0.0
    Author:
    oswaldo.bapvic.jr (Oswaldo Junior)
    • Method Detail

      • isTransient

        public static boolean isTransient​(Field field)
        Evaluates if the specified field is marked transient.
        Parameters:
        field - the Field to be evaluated
        Returns:
        true if the field contains the transient modifier; false, otherwise
        Throws:
        NullPointerException - if the field is null