code: public static void deprecated(Class<?> clazz, String methodOrPropName, String version) {
          if (LOG_DEPRECATED) {
              deprecated("Property or method [" + methodOrPropName + "] of class [" + clazz.getName() +
                      "] is deprecated in [" + version +
                      "] and will be removed in future releases");
          }
      }
docs: Logs warning message about deprecation of specified property or method of some class.
  
  @param clazz A class
  @param methodOrPropName Name of deprecated property or method
  @param version Version of Grails release in which property or method were deprecated