Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gvozdev2010-02-07 17:45:39 +0000
committerAndrew Gvozdev2010-02-07 17:45:39 +0000
commit022750b5dcf8528c9d2ef98cc9dae0eda612c74e (patch)
treeee42e3edced2f1feab300594f718f2755c0aba08 /build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui
parent973abf0454c4775d517ce3d26cbced50a042f4ec (diff)
downloadorg.eclipse.cdt-022750b5dcf8528c9d2ef98cc9dae0eda612c74e.tar.gz
org.eclipse.cdt-022750b5dcf8528c9d2ef98cc9dae0eda612c74e.tar.xz
org.eclipse.cdt-022750b5dcf8528c9d2ef98cc9dae0eda612c74e.zip
bug 301373: [API] add @noextend and @noimplement tags - org.eclipse.cdt.managedbuilder.gnu.ui
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui/GnuUIPlugin.java7
-rw-r--r--build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui/GprofAppCalculator.java13
-rw-r--r--build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui/ProfAppCalculator.java10
3 files changed, 21 insertions, 9 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui/GnuUIPlugin.java b/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui/GnuUIPlugin.java
index 013e1713a4c..54cbbf2b6df 100644
--- a/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui/GnuUIPlugin.java
+++ b/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui/GnuUIPlugin.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2008 Texas Instruments Inc. and others.
+ * Copyright (c) 2005, 2010 Texas Instruments Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -19,6 +19,9 @@ import java.util.*;
/**
* The main plugin class to be used in the desktop.
+ *
+ * @noextend This class is not intended to be subclassed by clients.
+ * @noinstantiate This class is not intended to be instantiated by clients.
*/
public class GnuUIPlugin extends Plugin {
@@ -39,6 +42,7 @@ public class GnuUIPlugin extends Plugin {
/**
* This method is called upon plug-in activation
*/
+ @Override
public void start(BundleContext context) throws Exception {
super.start(context);
}
@@ -46,6 +50,7 @@ public class GnuUIPlugin extends Plugin {
/**
* This method is called when the plug-in is stopped
*/
+ @Override
public void stop(BundleContext context) throws Exception {
super.stop(context);
plugin = null;
diff --git a/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui/GprofAppCalculator.java b/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui/GprofAppCalculator.java
index eee30fe56fc..c9fae405bd4 100644
--- a/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui/GprofAppCalculator.java
+++ b/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui/GprofAppCalculator.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008 Intel Corporation and others.
+ * Copyright (c) 2008, 2010 Intel Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -10,10 +10,13 @@
*******************************************************************************/
package org.eclipse.cdt.managedbuilder.gnu.ui;
-import org.eclipse.cdt.managedbuilder.core.IOptionApplicability;
-
-public class GprofAppCalculator extends ProfAppCalculator implements IOptionApplicability {
+/**
+ * @noextend This class is not intended to be subclassed by clients.
+ * @noinstantiate This class is not intended to be instantiated by clients.
+ */
+public class GprofAppCalculator extends ProfAppCalculator {
+ @Override
protected String getOptionIdPattern() {
- return ".compiler.option.debugging.gprof";
+ return ".compiler.option.debugging.gprof"; //$NON-NLS-1$
}
}
diff --git a/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui/ProfAppCalculator.java b/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui/ProfAppCalculator.java
index 90fa3e27a0b..66d28ca5132 100644
--- a/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui/ProfAppCalculator.java
+++ b/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/ui/ProfAppCalculator.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008 Intel Corporation and others.
+ * Copyright (c) 2008, 2010 Intel Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -18,12 +18,16 @@ import org.eclipse.cdt.managedbuilder.core.IOption;
import org.eclipse.cdt.managedbuilder.core.IOptionApplicability;
import org.eclipse.cdt.managedbuilder.core.ITool;
+/**
+ * @noextend This class is not intended to be subclassed by clients.
+ * @noinstantiate This class is not intended to be instantiated by clients.
+ */
public class ProfAppCalculator implements IOptionApplicability {
- protected static final String COMPILER_PATTERN = ".compiler.";
+ protected static final String COMPILER_PATTERN = ".compiler."; //$NON-NLS-1$
protected String getOptionIdPattern() {
- return ".compiler.option.debugging.prof";
+ return ".compiler.option.debugging.prof"; //$NON-NLS-1$
}
public boolean isOptionEnabled(IBuildObject configuration,

Back to the top