aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-05-07 09:29:27 +0200
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-05-07 09:29:27 +0200
commit5e0a5c49081f3bf6003b9c3fedd8aec60523c8b4 (patch)
treeb18efcab65a892a84db57a4561f404a42287ddba /sonar-plugin-api
parent11468d808ba64c061a6a832ac7922f9f62150e6e (diff)
downloadsonarqube-5e0a5c49081f3bf6003b9c3fedd8aec60523c8b4.tar.gz
sonarqube-5e0a5c49081f3bf6003b9c3fedd8aec60523c8b4.zip
SONAR-3893 Removed deprecated classes and perspectives
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/scan/source/Highlightable.java38
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/scan/source/Symbol.java31
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/scan/source/SymbolPerspective.java55
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/scan/source/package-info.java24
4 files changed, 0 insertions, 148 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/scan/source/Highlightable.java b/sonar-plugin-api/src/main/java/org/sonar/api/scan/source/Highlightable.java
deleted file mode 100644
index 78bcbc6256f..00000000000
--- a/sonar-plugin-api/src/main/java/org/sonar/api/scan/source/Highlightable.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * SonarQube, open source software quality management tool.
- * Copyright (C) 2008-2013 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * SonarQube is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * SonarQube is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-package org.sonar.api.scan.source;
-
-import org.sonar.api.component.Perspective;
-
-/**
- * @since 3.6
- */
-@Deprecated
-public interface Highlightable extends Perspective {
-
- interface HighlightingBuilder {
-
- HighlightingBuilder highlight(int startOffset, int endOffset, String typeOfText);
-
- void done();
- }
-
- HighlightingBuilder newHighlighting();
-}
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/scan/source/Symbol.java b/sonar-plugin-api/src/main/java/org/sonar/api/scan/source/Symbol.java
deleted file mode 100644
index df9d1e8d6cc..00000000000
--- a/sonar-plugin-api/src/main/java/org/sonar/api/scan/source/Symbol.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * SonarQube, open source software quality management tool.
- * Copyright (C) 2008-2013 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * SonarQube is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * SonarQube is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-package org.sonar.api.scan.source;
-
-@Deprecated
-public interface Symbol {
-
- public int getDeclarationStartOffset();
-
- public int getDeclarationEndOffset();
-
- public String getFullyQualifiedName();
-}
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/scan/source/SymbolPerspective.java b/sonar-plugin-api/src/main/java/org/sonar/api/scan/source/SymbolPerspective.java
deleted file mode 100644
index 0a82f58a476..00000000000
--- a/sonar-plugin-api/src/main/java/org/sonar/api/scan/source/SymbolPerspective.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * SonarQube, open source software quality management tool.
- * Copyright (C) 2008-2013 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * SonarQube is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * SonarQube is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-package org.sonar.api.scan.source;
-
-import org.sonar.api.component.Perspective;
-
-/**
- * @since 3.6
- */
-@Deprecated
-public interface SymbolPerspective extends Perspective {
-
- interface SymbolBuilder {
-
- SymbolBuilder setDeclaration(int startOffset, int endOffset);
-
- SymbolBuilder setFullyQualifiedName(String fullyQualifiedName);
-
- Symbol build();
- }
-
- interface ReferencesBuilder {
-
- ReferencesBuilder addReference(int startOffset);
- }
-
- SymbolPerspective begin();
-
- SymbolBuilder newSymbol();
-
- ReferencesBuilder declareReferences(Symbol symbol);
-
- void end();
-}
-
-
-
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/scan/source/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/scan/source/package-info.java
deleted file mode 100644
index 2fb6805472c..00000000000
--- a/sonar-plugin-api/src/main/java/org/sonar/api/scan/source/package-info.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * SonarQube, open source software quality management tool.
- * Copyright (C) 2008-2013 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * SonarQube is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * SonarQube is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-@ParametersAreNonnullByDefault
-package org.sonar.api.scan.source;
-
-import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file