*/ | */ | ||||
package org.sonar.api.resources; | 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 class Method extends Resource { | ||||
public static final String SCOPE = Scopes.BLOCK_UNIT; | public static final String SCOPE = Scopes.BLOCK_UNIT; |
<groupId>org.codehaus.sonar</groupId> | <groupId>org.codehaus.sonar</groupId> | ||||
<artifactId>sonar-plugin-api</artifactId> | <artifactId>sonar-plugin-api</artifactId> | ||||
</dependency> | </dependency> | ||||
<dependency> | |||||
<groupId>org.codehaus.sonar</groupId> | |||||
<artifactId>sonar-deprecated</artifactId> | |||||
</dependency> | |||||
<!-- unit tests --> | <!-- unit tests --> | ||||
<dependency> | <dependency> |
/** | /** | ||||
* The extension point to define a new language | * The extension point to define a new language | ||||
* <p/> | |||||
* Instantiation strategy changed to PER_BATCH in version 4.2. | |||||
* | * | ||||
* @since 1.10 | * @since 1.10 | ||||
*/ | */ |