Class Immutables


  • @Deprecated(since="7.0.9",
                forRemoval=true)
    public final class Immutables
    extends Object
    Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • isImmutable

        public static boolean isImmutable​(Object obj)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Determines if object is known to be immutable

        Note: This method may return false to immutable objects which immutability is not known, was defined not using concepts term.

        Parameters:
        obj - Reference to check
        Returns:
        true if object is known to be immutable false otherwise.