Class StringVariableContextVariableTypeConverter

    • Method Detail

      • convertToString

        @Nullable
        public static String convertToString​(@Nullable
                                             Object s)
        Converts the specified object to a string. Has special handling for ContextVariable objects and for objects that look like an object reference
        Parameters:
        s - the object to convert
        Returns:
        the string representation of the object, or null if the object cannot be converted to a string or is an object reference.