Package net.obvj.confectory.util
Class ReflectionUtils
- java.lang.Object
-
- net.obvj.confectory.util.ReflectionUtils
-
public class ReflectionUtils extends Object
Common methods for working with reflections.- Since:
- 2.0.0
- Author:
- oswaldo.bapvic.jr (Oswaldo Junior)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisTransient(Field field)Evaluates if the specified field is markedtransient.
-
-
-
Method Detail
-
isTransient
public static boolean isTransient(Field field)
Evaluates if the specified field is markedtransient.- Parameters:
field- theFieldto be evaluated- Returns:
trueif the field contains thetransientmodifier;false, otherwise- Throws:
NullPointerException- if the field is null
-
-