java.lang.Object
com.github.ushiosan23.jvm.base.ClassUtils
Utilities for the class
Class or similar.-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisPrimitive(@NotNull Class<?> cls) Checks if the given class is a primitive.
-
Method Details
-
isPrimitive
Checks if the given class is a primitive.- Parameters:
cls- The class to check- Returns:
- Returns
trueif the type is a primitive or one of the wrapper classes, orfalseotherwise. - See Also:
-