diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/rules/RulePriority.java b/sonar-plugin-api/src/main/java/org/sonar/api/rules/RulePriority.java
index <HASH>..<HASH> 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/rules/RulePriority.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/rules/RulePriority.java
@@ -37,7 +37,9 @@ public enum RulePriority {
    *
    * @param level an old priority level : Error or Warning
    * @return the corresponding RulePriority
+   * @deprecated in 3.6
    */
+  @Deprecated
   public static RulePriority valueOfString(String level) {
     try {
       return RulePriority.valueOf(level.toUpperCase());
Deprecate RulePriority#valueOfString() used for upgrading to sonar <I> !!