\r
/**\r
* Unique key within sonar plugins\r
+ * @deprecated since 2.2. The key must be set in the manifest.\r
*/\r
+ @Deprecated\r
String getKey();\r
\r
/**\r
* Descriptive name\r
+ * @deprecated since 2.2. The name must be set in the manifest.\r
*/\r
+ @Deprecated\r
String getName();\r
\r
/**\r
* description of the plugin, can contains html or ruby code\r
+ * @deprecated since 2.2. The description must be set in the manifest.\r
*/\r
+ @Deprecated\r
String getDescription();\r
\r
/**\r
* License along with Sonar; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
*/
-
package org.sonar.api.rules;
import com.google.common.collect.Lists;
private Collection<Class> annotatedClasses;
/**
- * Use the factory method()
+ * Use the factory method create()
*/
private AnnotationRuleRepository(String key, String language, Collection<Class> annotatedClasses) {
super(key, language);