aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-java-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2014-02-03 15:20:22 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2014-02-03 15:20:53 +0100
commit3ab193022b286c35bd3d6ef1eaae138e22cc0b16 (patch)
tree65bb787613529238dc2bc90a66c6eed77c46c1f6 /sonar-java-api
parentb06713b54b2ac6ba5a34150aacef718843291138 (diff)
downloadsonarqube-3ab193022b286c35bd3d6ef1eaae138e22cc0b16.tar.gz
sonarqube-3ab193022b286c35bd3d6ef1eaae138e22cc0b16.zip
SONAR-926 flag classes org.sonar.java.api.JavaClass and JavaMethod as deprecated
Diffstat (limited to 'sonar-java-api')
-rw-r--r--sonar-java-api/src/main/java/org/sonar/java/api/JavaClass.java2
-rw-r--r--sonar-java-api/src/main/java/org/sonar/java/api/JavaMethod.java2
2 files changed, 4 insertions, 0 deletions
diff --git a/sonar-java-api/src/main/java/org/sonar/java/api/JavaClass.java b/sonar-java-api/src/main/java/org/sonar/java/api/JavaClass.java
index 1833fa27eb3..82352b5bc05 100644
--- a/sonar-java-api/src/main/java/org/sonar/java/api/JavaClass.java
+++ b/sonar-java-api/src/main/java/org/sonar/java/api/JavaClass.java
@@ -24,7 +24,9 @@ import org.sonar.api.resources.*;
/**
* @since 2.6
+ * @deprecated in 4.2. Only file system is handled by SonarQube, not logical components.
*/
+@Deprecated
public final class JavaClass extends Resource {
public static final String SCOPE = Scopes.PROGRAM_UNIT;
diff --git a/sonar-java-api/src/main/java/org/sonar/java/api/JavaMethod.java b/sonar-java-api/src/main/java/org/sonar/java/api/JavaMethod.java
index 67e3edc5161..06a1abfe947 100644
--- a/sonar-java-api/src/main/java/org/sonar/java/api/JavaMethod.java
+++ b/sonar-java-api/src/main/java/org/sonar/java/api/JavaMethod.java
@@ -24,7 +24,9 @@ import org.sonar.api.resources.*;
/**
* @since 2.6
+ * @deprecated in 4.2. Only file system is handled by SonarQube, not logical components.
*/
+@Deprecated
public final class JavaMethod extends Method {
public static final String QUALIFIER = Qualifiers.METHOD;