aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-java-api
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-java-api')
-rw-r--r--sonar-java-api/src/main/java/org/sonar/java/api/JavaClass.java2
1 files changed, 1 insertions, 1 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 59f046bf6ff..724be07867b 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
@@ -27,7 +27,7 @@ import org.sonar.api.resources.*;
*/
public final class JavaClass extends Resource {
- public static final String SCOPE = Scopes.TYPE;
+ public static final String SCOPE = Scopes.PROGRAM_UNIT;
public static final String QUALIFIER = Qualifiers.CLASS;
public static final int UNKNOWN_LINE = -1;