@@ -19,6 +19,10 @@ | |||
*/ | |||
package org.sonar.api.resources; | |||
/** | |||
* @deprecated in 4.2. Only file system components are managed by SQ core (files/directories). | |||
*/ | |||
@Deprecated | |||
public class Method extends Resource { | |||
public static final String SCOPE = Scopes.BLOCK_UNIT; |
@@ -13,6 +13,10 @@ | |||
<groupId>org.codehaus.sonar</groupId> | |||
<artifactId>sonar-plugin-api</artifactId> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.codehaus.sonar</groupId> | |||
<artifactId>sonar-deprecated</artifactId> | |||
</dependency> | |||
<!-- unit tests --> | |||
<dependency> |
@@ -25,6 +25,8 @@ import org.sonar.api.batch.InstantiationStrategy; | |||
/** | |||
* The extension point to define a new language | |||
* <p/> | |||
* Instantiation strategy changed to PER_BATCH in version 4.2. | |||
* | |||
* @since 1.10 | |||
*/ |