Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method')
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test1.java29
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test10.java27
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test11.java28
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test12.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test13.java30
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test14.java57
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test15.java27
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test16.java28
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test17.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test18.java30
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test19.java57
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test2.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test20.java27
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test21.java81
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test22.java28
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test23.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test24.java30
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test25.java47
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test26.java27
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test27.java42
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test28.java51
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test3.java30
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test4.java57
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test5.java27
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test6.java28
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test7.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test8.java30
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test9.java57
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test1.java47
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test10.java46
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test11.java47
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test12.java51
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test13.java50
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test14.java106
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test15.java46
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test16.java24
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test17.java28
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test18.java27
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test19.java37
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test2.java51
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test20.java23
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test21.java24
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test22.java28
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test23.java27
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test24.java37
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test25.java23
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test26.java24
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test27.java28
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test28.java27
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test29.java37
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test3.java50
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test30.java23
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test31.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test32.java36
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test33.java34
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test34.java61
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test35.java31
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test36.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test37.java36
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test38.java34
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test39.java61
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test4.java106
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test40.java31
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test41.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test42.java36
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test43.java34
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test44.java61
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test45.java31
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test46.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test47.java36
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test48.java34
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test49.java61
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test5.java46
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test50.java31
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test51.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test52.java36
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test53.java34
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test54.java61
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test55.java31
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test56.java36
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test57.java41
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test6.java47
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test7.java51
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test8.java49
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test9.java106
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test1.java35
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test10.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test11.java33
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test12.java37
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test13.java36
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test14.java73
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test15.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test16.java33
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test17.java37
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test18.java36
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test19.java73
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test2.java38
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test20.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test21.java91
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test3.java37
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test4.java76
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test5.java33
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test6.java33
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test7.java37
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test8.java36
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test9.java73
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test1.java29
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test10.java27
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test11.java28
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test12.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test13.java30
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test14.java57
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test15.java27
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test16.java28
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test17.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test18.java30
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test19.java57
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test2.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test20.java27
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test21.java75
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test3.java30
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test4.java57
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test5.java27
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test6.java28
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test7.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test8.java30
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test9.java57
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test1.java49
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test10.java31
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test2.java53
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test3.java52
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test4.java112
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test5.java48
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test6.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test7.java36
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test8.java34
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test9.java61
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test1.java33
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test2.java37
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test3.java36
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test4.java64
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test5.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test1.java28
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test2.java32
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test3.java30
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test4.java48
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test5.java27
147 files changed, 5988 insertions, 0 deletions
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test1.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test1.java
new file mode 100644
index 0000000000..b31d86cd1f
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test1.java
@@ -0,0 +1,29 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noextend tag on methods in an annotation
+ */
+public @interface test1 {
+
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test10.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test10.java
new file mode 100644
index 0000000000..39ffb3e6f0
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test10.java
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test unsupported @noinstantiate tag on methods in an annotation in the default package
+ */
+public @interface test10 {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test11.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test11.java
new file mode 100644
index 0000000000..a0d4f78dfd
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test11.java
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noimplement tag on methods in an annotation
+ */
+public @interface test11 {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test12.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test12.java
new file mode 100644
index 0000000000..2b9545815b
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test12.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noimplement tag on outer annotation methods
+ */
+public @interface test12 {
+
+}
+
+@interface outer {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test13.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test13.java
new file mode 100644
index 0000000000..cf1dd65f48
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test13.java
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noimplement tag on methods in an inner annotation
+ */
+public @interface test13 {
+ @interface inner {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public abstract char m2();
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test14.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test14.java
new file mode 100644
index 0000000000..0ce929137c
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test14.java
@@ -0,0 +1,57 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noimplement tag on methods in outer / inner annotations
+ */
+public @interface test14 {
+ @interface inner {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public abstract char m2();
+ @interface inner2 {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public abstract char m2();
+ }
+ }
+}
+
+@interface outer {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test15.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test15.java
new file mode 100644
index 0000000000..c250f09d8d
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test15.java
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test unsupported @noimplement tag on methods in an annotation in the default package
+ */
+public @interface test15 {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test16.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test16.java
new file mode 100644
index 0000000000..767d02646b
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test16.java
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @nooverride tag on methods in an annotation
+ */
+public @interface test16 {
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test17.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test17.java
new file mode 100644
index 0000000000..a73b4684ad
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test17.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @nooverride tag on outer annotation methods
+ */
+public @interface test17 {
+
+}
+
+@interface outer {
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test18.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test18.java
new file mode 100644
index 0000000000..749dd7fd9c
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test18.java
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @nooverride tag on methods in an inner annotation
+ */
+public @interface test18 {
+ @interface inner {
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public abstract char m2();
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test19.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test19.java
new file mode 100644
index 0000000000..f4ccd631c5
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test19.java
@@ -0,0 +1,57 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @nooverride tag on methods in outer / inner annotation
+ */
+public @interface test19 {
+ @interface inner {
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public abstract char m2();
+ @interface inner2 {
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public abstract char m2();
+ }
+ }
+}
+
+@interface outer {
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test2.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test2.java
new file mode 100644
index 0000000000..e325d37568
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test2.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noextend tag on outer annotation methods
+ */
+public @interface test2 {
+
+}
+
+@interface outer {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test20.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test20.java
new file mode 100644
index 0000000000..2c5240ef2b
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test20.java
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test unsupported @nooverride tag on methods in an annotation in the default package
+ */
+public @interface test20 {
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test21.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test21.java
new file mode 100644
index 0000000000..9142314778
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test21.java
@@ -0,0 +1,81 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported tags on fields in outer / inner annotation
+ */
+public @interface test21 {
+ @interface inner {
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+ @interface inner2 {
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+ }
+ }
+}
+
+@interface outer {
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test22.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test22.java
new file mode 100644
index 0000000000..d758b7878f
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test22.java
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noreference tag on annotation methods
+ */
+public @interface test22 {
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test23.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test23.java
new file mode 100644
index 0000000000..3a878ea895
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test23.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noreference tag on outer annotation methods
+ */
+public @interface test23 {
+
+}
+
+@interface outer {
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test24.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test24.java
new file mode 100644
index 0000000000..cb2f386703
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test24.java
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noreference tag on annotation methods
+ */
+public @interface test24 {
+ @interface inner {
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test25.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test25.java
new file mode 100644
index 0000000000..02b0bae0a6
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test25.java
@@ -0,0 +1,47 @@
+
+
+/**
+ * Test unsupported @noreference tag on methods in outer / inner annotations
+ */
+public @interface test25 {
+ @interface inner {
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+ @interface inner2 {
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+ }
+ }
+}
+
+@interface outer {
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test26.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test26.java
new file mode 100644
index 0000000000..93e6efdf3f
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test26.java
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test unsupported @noreference tag on annotation methods in the default package
+ */
+public @interface test26 {
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test27.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test27.java
new file mode 100644
index 0000000000..5da9a1ee08
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test27.java
@@ -0,0 +1,42 @@
+package a.b.c;
+
+/**
+ * Test unsupported @noreference tag on methods in outer / inner annotations
+ */
+public @interface test27 {
+ @interface inner {
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @noreference
+ * @return
+ */
+ public String m1() default "one";
+
+ @interface inner2 {
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @noreference
+ * @return
+ */
+ public String m1() default "one";
+ }
+ }
+}
+
+@interface outer {
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @noreference
+ * @return
+ */
+ public String m1() default "one";
+} \ No newline at end of file
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test28.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test28.java
new file mode 100644
index 0000000000..d7eec092b4
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test28.java
@@ -0,0 +1,51 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test unsupported @noreference tag on annotation methods in the default package
+ */
+public @interface test28 {
+ @interface inner {
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @noreference
+ * @return
+ */
+ public String m1() default "one";
+
+ @interface inner2 {
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @noreference
+ * @return
+ */
+ public String m1() default "one";
+ }
+ }
+}
+
+@interface outer {
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @noreference
+ * @return
+ */
+ public String m1() default "one";
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test3.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test3.java
new file mode 100644
index 0000000000..64a776cee3
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test3.java
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noextend tag on methods in an inner annotation
+ */
+public @interface test3 {
+ @interface inner {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test4.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test4.java
new file mode 100644
index 0000000000..04d643ab6d
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test4.java
@@ -0,0 +1,57 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noextend tag on methods in outer / inner annotations
+ */
+public @interface test4 {
+ @interface inner {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+ @interface inner2 {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+ }
+ }
+}
+
+@interface outer {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test5.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test5.java
new file mode 100644
index 0000000000..a85a3dee74
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test5.java
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test unsupported @noextend tag on methods in an annotation in the default package
+ */
+public @interface test5 {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test6.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test6.java
new file mode 100644
index 0000000000..eeb36b3e90
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test6.java
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noinstantiate tag on methods in an annotation
+ */
+public @interface test6 {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test7.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test7.java
new file mode 100644
index 0000000000..bc1ee116d2
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test7.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noinstantiate tag on outer annotation methods
+ */
+public @interface test7 {
+
+}
+
+@interface outer {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test8.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test8.java
new file mode 100644
index 0000000000..256c7c1eed
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test8.java
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noinstantiate tag on methods in an inner annotation
+ */
+public @interface test8 {
+ @interface inner {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public abstract char m2();
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test9.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test9.java
new file mode 100644
index 0000000000..bca6fbf373
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/annotation/test9.java
@@ -0,0 +1,57 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noinstantiate tag on methods in outer / inner annotations
+ */
+public @interface test9 {
+ @interface inner {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public abstract char m2();
+ @interface inner2 {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public abstract char m2();
+ }
+ }
+}
+
+@interface outer {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test1.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test1.java
new file mode 100644
index 0000000000..1f94f14459
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test1.java
@@ -0,0 +1,47 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noimplement tag on class methods
+ */
+public class test1 {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noimplement
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test10.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test10.java
new file mode 100644
index 0000000000..8efb905a96
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test10.java
@@ -0,0 +1,46 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test supported @noextend tag on class methods in the default package
+ */
+public class test10 {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noextend
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test11.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test11.java
new file mode 100644
index 0000000000..b71aef2d0c
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test11.java
@@ -0,0 +1,47 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noinstantiate tag on class methods
+ */
+public class test11 {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noinstantiate
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test12.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test12.java
new file mode 100644
index 0000000000..94a50b5f11
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test12.java
@@ -0,0 +1,51 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noinstantiate tag on outer class methods
+ */
+public class test12 {
+
+}
+
+class outer {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noinstantiate
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test13.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test13.java
new file mode 100644
index 0000000000..870ed49b0e
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test13.java
@@ -0,0 +1,50 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noinstantiate tag on class methods
+ */
+public class test13 {
+
+ static class inner {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noinstantiate
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test14.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test14.java
new file mode 100644
index 0000000000..7500e86edc
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test14.java
@@ -0,0 +1,106 @@
+package a.b.c;
+
+
+/**
+ * Test supported @noinstantiate tag on methods in outer / inner classes
+ */
+public class test14 {
+
+ static class inner {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noinstantiate
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+ static class inner2 {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noinstantiate
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+ }
+ }
+}
+
+class outer {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noinstantiate
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test15.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test15.java
new file mode 100644
index 0000000000..cb263372d9
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test15.java
@@ -0,0 +1,46 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test supported @noinstantiate tag on class methods in the default package
+ */
+public class test15 {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noinstantiate
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test16.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test16.java
new file mode 100644
index 0000000000..86d0cc63e5
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test16.java
@@ -0,0 +1,24 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @nooverride tag on private class methods
+ */
+public class test16 {
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ private int m1() {
+ return 0;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test17.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test17.java
new file mode 100644
index 0000000000..83bb25b735
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test17.java
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @nooverride tag on private outer class methods
+ */
+public class test17 {
+
+}
+
+class outer {
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ private int m1() {
+ return 0;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test18.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test18.java
new file mode 100644
index 0000000000..0731ffc919
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test18.java
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @nooverride tag on private inner class methods
+ */
+public class test18 {
+
+ static class inner {
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ private int m1() {
+ return 0;
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test19.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test19.java
new file mode 100644
index 0000000000..f951685611
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test19.java
@@ -0,0 +1,37 @@
+package a.b.c;
+
+
+/**
+ * Test supported @nooverride tag on private methods in outer / inner classes
+ */
+public class test19 {
+
+ static class inner {
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ private int m1() {
+ return 0;
+ }
+ static class inner2 {
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ private int m1() {
+ return 0;
+ }
+ }
+ }
+}
+
+class outer {
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ private int m1() {
+ return 0;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test2.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test2.java
new file mode 100644
index 0000000000..e220137149
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test2.java
@@ -0,0 +1,51 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noimplement tag on outer class methods
+ */
+public class test2 {
+
+}
+
+class outer {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noimplement
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test20.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test20.java
new file mode 100644
index 0000000000..6f306db3b9
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test20.java
@@ -0,0 +1,23 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test supported @nooverride tag on private class methods in the default package
+ */
+public class test20 {
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ private int m1() {
+ return 0;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test21.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test21.java
new file mode 100644
index 0000000000..51f636a680
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test21.java
@@ -0,0 +1,24 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @nooverride tag on final class methods
+ */
+public class test21 {
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ public final int m1() {
+ return 0;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test22.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test22.java
new file mode 100644
index 0000000000..c4edaff8f2
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test22.java
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @nooverride tag on final outer class methods
+ */
+public class test22 {
+
+}
+
+class outer {
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ public final int m1() {
+ return 0;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test23.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test23.java
new file mode 100644
index 0000000000..291fd35e25
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test23.java
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @nooverride tag on final inner class methods
+ */
+public class test23 {
+
+ static class inner {
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ public final int m1() {
+ return 0;
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test24.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test24.java
new file mode 100644
index 0000000000..95e40ddb1f
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test24.java
@@ -0,0 +1,37 @@
+package a.b.c;
+
+
+/**
+ * Test supported @nooverride tag on final methods in outer / inner classes
+ */
+public class test24 {
+
+ static class inner {
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ public final int m1() {
+ return 0;
+ }
+ static class inner2 {
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ public final int m1() {
+ return 0;
+ }
+ }
+ }
+}
+
+class outer {
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ public final int m1() {
+ return 0;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test25.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test25.java
new file mode 100644
index 0000000000..1dd0bcd2f7
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test25.java
@@ -0,0 +1,23 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test supported @nooverride tag on final class methods in the default package
+ */
+public class test25 {
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ public final int m1() {
+ return 0;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test26.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test26.java
new file mode 100644
index 0000000000..4a1ccb77de
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test26.java
@@ -0,0 +1,24 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noreference tag on private class methods
+ */
+public class test26 {
+ /**
+ * @noreference
+ * @return
+ */
+ private int m1() {
+ return 0;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test27.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test27.java
new file mode 100644
index 0000000000..52b1c84bb6
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test27.java
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noreference tag on private outer class methods
+ */
+public class test27 {
+
+}
+
+class outer {
+ /**
+ * @noreference
+ * @return
+ */
+ private int m1() {
+ return 0;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test28.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test28.java
new file mode 100644
index 0000000000..f9cc99b86b
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test28.java
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noreference tag on private inner class methods
+ */
+public class test28 {
+
+ static class inner {
+ /**
+ * @noreference
+ * @return
+ */
+ private int m1() {
+ return 0;
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test29.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test29.java
new file mode 100644
index 0000000000..32137c1da4
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test29.java
@@ -0,0 +1,37 @@
+package a.b.c;
+
+
+/**
+ * Test supported @noreference tag on private methods in outer / inner classes
+ */
+public class test29 {
+
+ static class inner {
+ /**
+ * @noreference
+ * @return
+ */
+ private int m1() {
+ return 0;
+ }
+ static class inner2 {
+ /**
+ * @noreference
+ * @return
+ */
+ private int m1() {
+ return 0;
+ }
+ }
+ }
+}
+
+class outer {
+ /**
+ * @noreference
+ * @return
+ */
+ private int m1() {
+ return 0;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test3.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test3.java
new file mode 100644
index 0000000000..948fab7e1b
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test3.java
@@ -0,0 +1,50 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noimplement tag on class methods
+ */
+public class test3 {
+
+ static class inner {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noimplement
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test30.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test30.java
new file mode 100644
index 0000000000..3c8b2c9fa0
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test30.java
@@ -0,0 +1,23 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test supported @noreference tag on private class methods in the default package
+ */
+public class test30 {
+ /**
+ * @noreference
+ * @return
+ */
+ private int m1() {
+ return 0;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test31.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test31.java
new file mode 100644
index 0000000000..0bb6cdffc7
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test31.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noreference tag on private class constructors
+ */
+public class test31 {
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ private test31() {
+
+ }
+
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ private test31(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test32.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test32.java
new file mode 100644
index 0000000000..2bb6d3fb50
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test32.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noreference tag on private outer class constructors
+ */
+public class test32 {
+
+}
+
+class outer {
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ private outer() {
+
+ }
+
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ private outer(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test33.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test33.java
new file mode 100644
index 0000000000..8ac9a53b84
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test33.java
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noreference tag on private class constructors
+ */
+public class test33 {
+ class inner {
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ private inner() {
+
+ }
+
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ private inner(int i) {
+
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test34.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test34.java
new file mode 100644
index 0000000000..6554dd3ae2
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test34.java
@@ -0,0 +1,61 @@
+package a.b.c;
+
+
+/**
+ * Test unsupported @noreference tag on private constructors in outer / inner classes
+ */
+public class test34 {
+
+ static class inner {
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ private inner() {
+
+ }
+
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ private inner(int i) {
+
+ }
+ class inner2 {
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ private inner2() {
+
+ }
+
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ private inner2(int i) {
+
+ }
+ }
+ }
+}
+
+class outer {
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ private outer() {
+
+ }
+
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ private outer(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test35.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test35.java
new file mode 100644
index 0000000000..dee870c085
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test35.java
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test unsupported @noreference tag on private constructors in the default package
+ */
+public class test35 {
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ private test35() {
+
+ }
+
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ private test35(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test36.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test36.java
new file mode 100644
index 0000000000..572c31a3d8
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test36.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noinstantiate tag on constructors
+ */
+public class test36 {
+ /**
+ * Constructor
+ * @noinstantiate This constructor is not intended to be referenced by clients.
+ */
+ public test36() {
+
+ }
+
+ /**
+ * Constructor
+ * @noinstantiate This constructor is not intended to be referenced by clients.
+ */
+ public test36(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test37.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test37.java
new file mode 100644
index 0000000000..4d556ea2e8
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test37.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noinstantiate tag on outer class constructors
+ */
+public class test37 {
+
+}
+
+class outer {
+ /**
+ * Constructor
+ * @noinstantiate This constructor is not intended to be referenced by clients.
+ */
+ public outer() {
+
+ }
+
+ /**
+ * Constructor
+ * @noinstantiate This constructor is not intended to be referenced by clients.
+ */
+ protected outer(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test38.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test38.java
new file mode 100644
index 0000000000..d2076dcd5b
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test38.java
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noinstantiate tag on inner class constructors
+ */
+public class test38 {
+ class inner {
+ /**
+ * Constructor
+ * @noinstantiate This constructor is not intended to be referenced by clients.
+ */
+ public inner() {
+
+ }
+
+ /**
+ * Constructor
+ * @noinstantiate This constructor is not intended to be referenced by clients.
+ */
+ protected inner(int i) {
+
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test39.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test39.java
new file mode 100644
index 0000000000..bc94a3e225
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test39.java
@@ -0,0 +1,61 @@
+package a.b.c;
+
+
+/**
+ * Test supported @noinstantiate tag on constructors in outer / inner classes
+ */
+public class test39 {
+
+ static class inner {
+ /**
+ * Constructor
+ * @noinstantiate This constructor is not intended to be referenced by clients.
+ */
+ public inner() {
+
+ }
+
+ /**
+ * Constructor
+ * @noinstantiate This constructor is not intended to be referenced by clients.
+ */
+ protected inner(int i) {
+
+ }
+ static class inner2 {
+ /**
+ * Constructor
+ * @noinstantiate This constructor is not intended to be referenced by clients.
+ */
+ public inner2() {
+
+ }
+
+ /**
+ * Constructor
+ * @noinstantiate This constructor is not intended to be referenced by clients.
+ */
+ protected inner2(int i) {
+
+ }
+ }
+ }
+}
+
+class outer {
+ /**
+ * Constructor
+ * @noinstantiate This constructor is not intended to be referenced by clients.
+ */
+ public outer() {
+
+ }
+
+ /**
+ * Constructor
+ * @noinstantiate This constructor is not intended to be referenced by clients.
+ */
+ protected outer(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test4.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test4.java
new file mode 100644
index 0000000000..b7c4e02de4
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test4.java
@@ -0,0 +1,106 @@
+package a.b.c;
+
+
+/**
+ * Test supported @noimplement tag on methods in outer / inner classes
+ */
+public class test4 {
+
+ static class inner {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noimplement
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+ static class inner2 {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noimplement
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+ }
+ }
+}
+
+class outer {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noimplement
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test40.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test40.java
new file mode 100644
index 0000000000..83a50aa43e
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test40.java
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test supported @noinstantiate tag on constructors in the default package
+ */
+public class test40 {
+ /**
+ * Constructor
+ * @noinstantiate This constructor is not intended to be referenced by clients.
+ */
+ public test40() {
+
+ }
+
+ /**
+ * Constructor
+ * @noinstantiate This constructor is not intended to be referenced by clients.
+ */
+ protected test40(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test41.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test41.java
new file mode 100644
index 0000000000..0cd9ab9081
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test41.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noextend tag on constructors
+ */
+public class test41 {
+ /**
+ * Constructor
+ * @noextend This constructor is not intended to be referenced by clients.
+ */
+ public test41() {
+
+ }
+
+ /**
+ * Constructor
+ * @noextend This constructor is not intended to be referenced by clients.
+ */
+ public test41(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test42.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test42.java
new file mode 100644
index 0000000000..22e83c8375
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test42.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noextend tag on outer class constructors
+ */
+public class test42 {
+
+}
+
+class outer {
+ /**
+ * Constructor
+ * @noextend This constructor is not intended to be referenced by clients.
+ */
+ public outer() {
+
+ }
+
+ /**
+ * Constructor
+ * @noextend This constructor is not intended to be referenced by clients.
+ */
+ protected outer(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test43.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test43.java
new file mode 100644
index 0000000000..9341083981
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test43.java
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noextend tag on inner class constructors
+ */
+public class test43 {
+ class inner {
+ /**
+ * Constructor
+ * @noextend This constructor is not intended to be referenced by clients.
+ */
+ public inner() {
+
+ }
+
+ /**
+ * Constructor
+ * @noextend This constructor is not intended to be referenced by clients.
+ */
+ protected inner(int i) {
+
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test44.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test44.java
new file mode 100644
index 0000000000..26b90f6bb1
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test44.java
@@ -0,0 +1,61 @@
+package a.b.c;
+
+
+/**
+ * Test supported @noextend tag on constructors in outer / inner classes
+ */
+public class test44 {
+
+ static class inner {
+ /**
+ * Constructor
+ * @noextend This constructor is not intended to be referenced by clients.
+ */
+ public inner() {
+
+ }
+
+ /**
+ * Constructor
+ * @noextend This constructor is not intended to be referenced by clients.
+ */
+ protected inner(int i) {
+
+ }
+ static class inner2 {
+ /**
+ * Constructor
+ * @noextend This constructor is not intended to be referenced by clients.
+ */
+ public inner2() {
+
+ }
+
+ /**
+ * Constructor
+ * @noextend This constructor is not intended to be referenced by clients.
+ */
+ protected inner2(int i) {
+
+ }
+ }
+ }
+}
+
+class outer {
+ /**
+ * Constructor
+ * @noextend This constructor is not intended to be referenced by clients.
+ */
+ public outer() {
+
+ }
+
+ /**
+ * Constructor
+ * @noextend This constructor is not intended to be referenced by clients.
+ */
+ protected outer(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test45.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test45.java
new file mode 100644
index 0000000000..6b24f6c581
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test45.java
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test supported @noextend tag on constructors in the default package
+ */
+public class test45 {
+ /**
+ * Constructor
+ * @noextend This constructor is not intended to be referenced by clients.
+ */
+ public test45() {
+
+ }
+
+ /**
+ * Constructor
+ * @noextend This constructor is not intended to be referenced by clients.
+ */
+ protected test45(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test46.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test46.java
new file mode 100644
index 0000000000..4b1f2f2154
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test46.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @nooverride tag on constructors
+ */
+public class test46 {
+ /**
+ * Constructor
+ * @nooverride This constructor is not intended to be referenced by clients.
+ */
+ public test46() {
+
+ }
+
+ /**
+ * Constructor
+ * @nooverride This constructor is not intended to be referenced by clients.
+ */
+ public test46(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test47.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test47.java
new file mode 100644
index 0000000000..3b4874ba9e
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test47.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @nooverride tag on outer class constructors
+ */
+public class test47 {
+
+}
+
+class outer {
+ /**
+ * Constructor
+ * @nooverride This constructor is not intended to be referenced by clients.
+ */
+ public outer() {
+
+ }
+
+ /**
+ * Constructor
+ * @nooverride This constructor is not intended to be referenced by clients.
+ */
+ protected outer(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test48.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test48.java
new file mode 100644
index 0000000000..f5594bb2b5
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test48.java
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @nooverride tag on inner class constructors
+ */
+public class test48 {
+ class inner {
+ /**
+ * Constructor
+ * @nooverride This constructor is not intended to be referenced by clients.
+ */
+ public inner() {
+
+ }
+
+ /**
+ * Constructor
+ * @nooverride This constructor is not intended to be referenced by clients.
+ */
+ protected inner(int i) {
+
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test49.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test49.java
new file mode 100644
index 0000000000..414a4dc1d6
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test49.java
@@ -0,0 +1,61 @@
+package a.b.c;
+
+
+/**
+ * Test supported @nooverride tag on constructors in outer / inner classes
+ */
+public class test49 {
+
+ static class inner {
+ /**
+ * Constructor
+ * @nooverride This constructor is not intended to be referenced by clients.
+ */
+ public inner() {
+
+ }
+
+ /**
+ * Constructor
+ * @nooverride This constructor is not intended to be referenced by clients.
+ */
+ protected inner(int i) {
+
+ }
+ static class inner2 {
+ /**
+ * Constructor
+ * @nooverride This constructor is not intended to be referenced by clients.
+ */
+ public inner2() {
+
+ }
+
+ /**
+ * Constructor
+ * @nooverride This constructor is not intended to be referenced by clients.
+ */
+ protected inner2(int i) {
+
+ }
+ }
+ }
+}
+
+class outer {
+ /**
+ * Constructor
+ * @nooverride This constructor is not intended to be referenced by clients.
+ */
+ public outer() {
+
+ }
+
+ /**
+ * Constructor
+ * @nooverride This constructor is not intended to be referenced by clients.
+ */
+ protected outer(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test5.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test5.java
new file mode 100644
index 0000000000..6d266d81e5
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test5.java
@@ -0,0 +1,46 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test supported @noimplement tag on class methods in the default package
+ */
+public class test5 {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noimplement
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test50.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test50.java
new file mode 100644
index 0000000000..70f225fe9a
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test50.java
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test supported @nooverride tag on constructors in the default package
+ */
+public class test50 {
+ /**
+ * Constructor
+ * @nooverride This constructor is not intended to be referenced by clients.
+ */
+ public test50() {
+
+ }
+
+ /**
+ * Constructor
+ * @nooverride This constructor is not intended to be referenced by clients.
+ */
+ protected test50(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test51.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test51.java
new file mode 100644
index 0000000000..fa9dd52d6d
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test51.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noimplement tag on constructors
+ */
+public class test51 {
+ /**
+ * Constructor
+ * @noimplement This constructor is not intended to be referenced by clients.
+ */
+ public test51() {
+
+ }
+
+ /**
+ * Constructor
+ * @noimplement This constructor is not intended to be referenced by clients.
+ */
+ public test51(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test52.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test52.java
new file mode 100644
index 0000000000..40762c9fe2
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test52.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noimplement tag on outer class constructors
+ */
+public class test52 {
+
+}
+
+class outer {
+ /**
+ * Constructor
+ * @noimplement This constructor is not intended to be referenced by clients.
+ */
+ public outer() {
+
+ }
+
+ /**
+ * Constructor
+ * @noimplement This constructor is not intended to be referenced by clients.
+ */
+ protected outer(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test53.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test53.java
new file mode 100644
index 0000000000..ea267bca33
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test53.java
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noimplement tag on inner class constructors
+ */
+public class test53 {
+ class inner {
+ /**
+ * Constructor
+ * @noimplement This constructor is not intended to be referenced by clients.
+ */
+ public inner() {
+
+ }
+
+ /**
+ * Constructor
+ * @noimplement This constructor is not intended to be referenced by clients.
+ */
+ protected inner(int i) {
+
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test54.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test54.java
new file mode 100644
index 0000000000..eebca89303
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test54.java
@@ -0,0 +1,61 @@
+package a.b.c;
+
+
+/**
+ * Test supported @noimplement tag on constructors in outer / inner classes
+ */
+public class test54 {
+
+ static class inner {
+ /**
+ * Constructor
+ * @noimplement This constructor is not intended to be referenced by clients.
+ */
+ public inner() {
+
+ }
+
+ /**
+ * Constructor
+ * @noimplement This constructor is not intended to be referenced by clients.
+ */
+ protected inner(int i) {
+
+ }
+ static class inner2 {
+ /**
+ * Constructor
+ * @noimplement This constructor is not intended to be referenced by clients.
+ */
+ public inner2() {
+
+ }
+
+ /**
+ * Constructor
+ * @noimplement This constructor is not intended to be referenced by clients.
+ */
+ protected inner2(int i) {
+
+ }
+ }
+ }
+}
+
+class outer {
+ /**
+ * Constructor
+ * @noimplement This constructor is not intended to be referenced by clients.
+ */
+ public outer() {
+
+ }
+
+ /**
+ * Constructor
+ * @noimplement This constructor is not intended to be referenced by clients.
+ */
+ protected outer(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test55.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test55.java
new file mode 100644
index 0000000000..4a2b60ff60
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test55.java
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test supported @noimplement tag on constructors in the default package
+ */
+public class test55 {
+ /**
+ * Constructor
+ * @noimplement This constructor is not intended to be referenced by clients.
+ */
+ public test55() {
+
+ }
+
+ /**
+ * Constructor
+ * @noimplement This constructor is not intended to be referenced by clients.
+ */
+ protected test55(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test56.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test56.java
new file mode 100644
index 0000000000..412f4411c1
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test56.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noreference tag on private class constructors
+ */
+public class test56 {
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ * @noimplement
+ * @noinstantiate
+ */
+ private test56() {
+
+ }
+
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ * @nooverride
+ * @noextend
+ */
+ private test56(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test57.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test57.java
new file mode 100644
index 0000000000..7e1d556244
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test57.java
@@ -0,0 +1,41 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ *
+ */
+public class test57 {
+
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ */
+ public static void m1() {
+
+ }
+
+ static class inner {
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ */
+ public static final void m1() {
+
+ }
+ }
+}
+
+class outer {
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ */
+ static void m3() {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test6.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test6.java
new file mode 100644
index 0000000000..8a9770301d
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test6.java
@@ -0,0 +1,47 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noextend tag on class methods
+ */
+public class test6 {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noextend
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test7.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test7.java
new file mode 100644
index 0000000000..59c2f4ac8a
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test7.java
@@ -0,0 +1,51 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noextend tag on outer class methods
+ */
+public class test7 {
+
+}
+
+class outer {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noextend
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test8.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test8.java
new file mode 100644
index 0000000000..3931a08e5c
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test8.java
@@ -0,0 +1,49 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noextend tag on class methods
+ */
+public class test8 {
+ class inner {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noextend
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test9.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test9.java
new file mode 100644
index 0000000000..1b87b10689
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/class/test9.java
@@ -0,0 +1,106 @@
+package a.b.c;
+
+
+/**
+ * Test supported @noextend tag on methods in outer / inner classes
+ */
+public class test9 {
+
+ static class inner {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noextend
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+ static class inner2 {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noextend
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+ }
+ }
+}
+
+class outer {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @noextend
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test1.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test1.java
new file mode 100644
index 0000000000..492e208fbe
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test1.java
@@ -0,0 +1,35 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noextend tag on methods in an enum
+ */
+public enum test1 {
+
+ A;
+
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ public char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test10.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test10.java
new file mode 100644
index 0000000000..4363c4ccd5
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test10.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test unsupported @noinstantiate tag on methods in an enum in the default package
+ */
+public enum test10 {
+ A;
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test11.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test11.java
new file mode 100644
index 0000000000..a9ec6f3fc7
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test11.java
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noimplement tag on methods in an enum
+ */
+public enum test11 {
+ A;
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test12.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test12.java
new file mode 100644
index 0000000000..e3c6c7a1c6
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test12.java
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noimplement tag on outer enum methods
+ */
+public enum test12 {
+
+}
+
+enum outer {
+ A;
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test13.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test13.java
new file mode 100644
index 0000000000..d0d0b87698
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test13.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noimplement tag on methods in an inner enum
+ */
+public enum test13 {
+ A;
+ enum inner {
+ A;
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test14.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test14.java
new file mode 100644
index 0000000000..cd6dbf74d4
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test14.java
@@ -0,0 +1,73 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noimplement tag on methods in outer / inner enums
+ */
+public enum test14 {
+ A;
+ enum inner {
+ A;
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+ enum inner2 {
+ A;
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+ }
+ }
+}
+
+enum outer {
+ A;
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test15.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test15.java
new file mode 100644
index 0000000000..bf25c1ad07
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test15.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test unsupported @noimplement tag on methods in an enum in the default package
+ */
+public enum test15 {
+ A;
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test16.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test16.java
new file mode 100644
index 0000000000..bab669dd0e
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test16.java
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @nooverride tag on methods in an enum
+ */
+public enum test16 {
+ A;
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test17.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test17.java
new file mode 100644
index 0000000000..e5d93a8784
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test17.java
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @nooverride tag on outer enum methods
+ */
+public enum test17 {
+
+}
+
+enum outer {
+ A;
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test18.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test18.java
new file mode 100644
index 0000000000..75f45d6b91
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test18.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @nooverride tag on methods in an inner enum
+ */
+public enum test18 {
+ A;
+ enum inner {
+ A;
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test19.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test19.java
new file mode 100644
index 0000000000..2836a88b66
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test19.java
@@ -0,0 +1,73 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @nooverride tag on methods in outer / inner enums
+ */
+public enum test19 {
+ A;
+ enum inner {
+ A;
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+ enum inner2 {
+ A;
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+ }
+ }
+}
+
+enum outer {
+ A;
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test2.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test2.java
new file mode 100644
index 0000000000..4aaa3fd9ad
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test2.java
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noextend tag on outer enum methods
+ */
+public enum test2 {
+
+}
+
+enum outer {
+ A;
+
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ public char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test20.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test20.java
new file mode 100644
index 0000000000..3497a7d2e0
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test20.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test unsupported @nooverride tag on methods in an enum in the default package
+ */
+public enum test20 {
+ A;
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test21.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test21.java
new file mode 100644
index 0000000000..5b0f0e1634
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test21.java
@@ -0,0 +1,91 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported tags on fields in outer / inner annotation
+ */
+public enum test21 {
+ A;
+ enum inner {
+ A;
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+ enum inner2 {
+ A;
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+ }
+ }
+}
+
+enum outer {
+ A;
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test3.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test3.java
new file mode 100644
index 0000000000..13457479d6
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test3.java
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noextend tag on methods in an inner enum
+ */
+public enum test3 {
+ A;
+ enum inner {
+ A;
+
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ public char m2() {
+ return 's';
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test4.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test4.java
new file mode 100644
index 0000000000..edc27f78ef
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test4.java
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noextend tag on methods in outer / inner annotations
+ */
+public enum test4 {
+ A;
+ enum inner {
+ A;
+
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ public char m2() {
+ return 's';
+ }
+ enum inner2 {
+ A;
+
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ public char m2() {
+ return 's';
+ }
+ }
+ }
+}
+
+enum outer {
+A;
+
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ public char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test5.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test5.java
new file mode 100644
index 0000000000..d54d5679dc
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test5.java
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test unsupported @noextend tag on methods in an enum in the default package
+ */
+public enum test5 {
+ A;
+
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noextend
+ * @return
+ */
+ public char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test6.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test6.java
new file mode 100644
index 0000000000..2df5408086
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test6.java
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noinstantiate tag on methods in an enum
+ */
+public enum test6 {
+ A;
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test7.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test7.java
new file mode 100644
index 0000000000..c4479cd4ba
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test7.java
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noinstantiate tag on outer enum methods
+ */
+public enum test7 {
+
+}
+
+enum outer {
+ A;
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test8.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test8.java
new file mode 100644
index 0000000000..e91c9db039
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test8.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noinstantiate tag on methods in an inner enum
+ */
+public enum test8 {
+ A;
+ enum inner {
+ A;
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test9.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test9.java
new file mode 100644
index 0000000000..bcc26d9b95
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/enum/test9.java
@@ -0,0 +1,73 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noinstantiate tag on methods in outer / inner enums
+ */
+public enum test9 {
+ A;
+ enum inner {
+ A;
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+ enum inner2 {
+ A;
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+ }
+ }
+}
+
+enum outer {
+ A;
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test1.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test1.java
new file mode 100644
index 0000000000..c5b10f5156
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test1.java
@@ -0,0 +1,29 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noextend tag on methods in an interface
+ */
+public interface test1 {
+
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test10.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test10.java
new file mode 100644
index 0000000000..96d8189eb8
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test10.java
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test unsupported @noinstantiate tag on methods in an interface in the default package
+ */
+public interface test10 {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test11.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test11.java
new file mode 100644
index 0000000000..56a117d354
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test11.java
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noimplement tag on methods in an interface
+ */
+public interface test11 {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test12.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test12.java
new file mode 100644
index 0000000000..a04e1effb2
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test12.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noimplement tag on outer interface methods
+ */
+public interface test12 {
+
+}
+
+interface outer {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test13.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test13.java
new file mode 100644
index 0000000000..28c250f84d
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test13.java
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noimplement tag on methods in an inner interface
+ */
+public interface test13 {
+ interface inner {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public abstract char m2();
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test14.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test14.java
new file mode 100644
index 0000000000..d44846ecb3
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test14.java
@@ -0,0 +1,57 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noimplement tag on methods in outer / inner interfaces
+ */
+public interface test14 {
+ interface inner {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public abstract char m2();
+ interface inner2 {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public abstract char m2();
+ }
+ }
+}
+
+interface outer {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test15.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test15.java
new file mode 100644
index 0000000000..2582b5f3c2
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test15.java
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test unsupported @noimplement tag on methods in an interface in the default package
+ */
+public interface test15 {
+ /**
+ * @noimplement
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noimplement
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test16.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test16.java
new file mode 100644
index 0000000000..9e96171e94
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test16.java
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @nooverride tag on methods in an interface
+ */
+public interface test16 {
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test17.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test17.java
new file mode 100644
index 0000000000..72b6727b74
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test17.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @nooverride tag on outer interface methods
+ */
+public interface test17 {
+
+}
+
+interface outer {
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test18.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test18.java
new file mode 100644
index 0000000000..78cb071656
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test18.java
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @nooverride tag on methods in an inner interface
+ */
+public interface test18 {
+ interface inner {
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public abstract char m2();
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test19.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test19.java
new file mode 100644
index 0000000000..5e7f1ad166
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test19.java
@@ -0,0 +1,57 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @nooverride tag on methods in outer / inner interfaces
+ */
+public interface test19 {
+ interface inner {
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public abstract char m2();
+ interface inner2 {
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public abstract char m2();
+ }
+ }
+}
+
+interface outer {
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test2.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test2.java
new file mode 100644
index 0000000000..ac3fcf0716
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test2.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noextend tag on outer interface methods
+ */
+public interface test2 {
+
+}
+
+interface outer {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test20.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test20.java
new file mode 100644
index 0000000000..092f0a4e47
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test20.java
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test unsupported @nooverride tag on methods in an interface in the default package
+ */
+public interface test20 {
+ /**
+ * @nooverride
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test21.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test21.java
new file mode 100644
index 0000000000..1365aa96b0
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test21.java
@@ -0,0 +1,75 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported tags on fields in outer / inner interfaces
+ */
+public interface test21 {
+ interface inner {
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+ interface inner2 {
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+ }
+ }
+}
+
+interface outer {
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @nooverride
+ * @noimplement
+ * @noinstantiate
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test3.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test3.java
new file mode 100644
index 0000000000..2ac33e3aa7
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test3.java
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noextend tag on methods in an inner interface
+ */
+public interface test3 {
+ interface inner {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test4.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test4.java
new file mode 100644
index 0000000000..8b1553140e
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test4.java
@@ -0,0 +1,57 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noextend tag on methods in outer / inner interfaces
+ */
+public interface test4 {
+ interface inner {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+ interface inner2 {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+ }
+ }
+}
+
+interface outer {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test5.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test5.java
new file mode 100644
index 0000000000..8a26f7395a
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test5.java
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test unsupported @noextend tag on methods in an interface in the default package
+ */
+public interface test5 {
+ /**
+ * @noextend
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noextend
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test6.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test6.java
new file mode 100644
index 0000000000..520d763b54
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test6.java
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noinstantiate tag on methods in an interface
+ */
+public interface test6 {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test7.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test7.java
new file mode 100644
index 0000000000..21a3d60990
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test7.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noinstantiate tag on outer interface methods
+ */
+public interface test7 {
+
+}
+
+interface outer {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test8.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test8.java
new file mode 100644
index 0000000000..2e6556bf5a
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test8.java
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noinstantiate tag on methods in an inner interface
+ */
+public interface test8 {
+ interface inner {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public abstract char m2();
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test9.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test9.java
new file mode 100644
index 0000000000..4ffd0f88a4
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/interface/test9.java
@@ -0,0 +1,57 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test unsupported @noinstantiate tag on methods in outer / inner interfaces
+ */
+public interface test9 {
+ interface inner {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public abstract char m2();
+ interface inner2 {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public abstract char m2();
+ }
+ }
+}
+
+interface outer {
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noinstantiate
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test1.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test1.java
new file mode 100644
index 0000000000..2134910ea0
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test1.java
@@ -0,0 +1,49 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noreference tag on class methods
+ */
+public class test1 {
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @noreference This method is not intended to be referenced by clients.
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test10.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test10.java
new file mode 100644
index 0000000000..2b6af2ed6f
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test10.java
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test supported @noreference tag on class methods in the default package
+ */
+public class test10 {
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ public test10() {
+
+ }
+
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ protected test10(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test2.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test2.java
new file mode 100644
index 0000000000..997d510af8
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test2.java
@@ -0,0 +1,53 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noreference tag on outer class methods
+ */
+public class test2 {
+
+}
+
+class outer {
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @noreference This method is not intended to be referenced by clients.
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test3.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test3.java
new file mode 100644
index 0000000000..2d7a1b0371
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test3.java
@@ -0,0 +1,52 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noreference tag on class methods
+ */
+public class test3 {
+
+ static class inner {
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @noreference This method is not intended to be referenced by clients.
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test4.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test4.java
new file mode 100644
index 0000000000..68c3038c55
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test4.java
@@ -0,0 +1,112 @@
+package a.b.c;
+
+
+/**
+ * Test supported @noreference tag on methods in outer / inner classes
+ */
+public class test4 {
+
+ static class inner {
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @noreference This method is not intended to be referenced by clients.
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+ static class inner2 {
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @noreference This method is not intended to be referenced by clients.
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+ }
+ }
+}
+
+class outer {
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @noreference This method is not intended to be referenced by clients.
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test5.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test5.java
new file mode 100644
index 0000000000..319249dea5
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test5.java
@@ -0,0 +1,48 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test supported @noreference tag on class methods in the default package
+ */
+public class test5 {
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+
+ /**
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @noreference This method is not intended to be referenced by clients.
+ */
+ protected void m3() {
+
+ }
+
+ /**
+ * @noreference This method is not intended to be referenced by clients.
+ * @return
+ */
+ protected static Object m4() {
+ return null;
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test6.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test6.java
new file mode 100644
index 0000000000..d94f04c309
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test6.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noreference tag on class methods
+ */
+public class test6 {
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ public test6() {
+
+ }
+
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ protected test6(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test7.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test7.java
new file mode 100644
index 0000000000..ea61347bce
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test7.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noreference tag on outer class methods
+ */
+public class test7 {
+
+}
+
+class outer {
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ public outer() {
+
+ }
+
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ protected outer(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test8.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test8.java
new file mode 100644
index 0000000000..9207581011
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test8.java
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noreference tag on class methods
+ */
+public class test8 {
+ class inner {
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ public inner() {
+
+ }
+
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ protected inner(int i) {
+
+ }
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test9.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test9.java
new file mode 100644
index 0000000000..bae491dc28
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/class/test9.java
@@ -0,0 +1,61 @@
+package a.b.c;
+
+
+/**
+ * Test supported @noreference tag on methods in outer / inner classes
+ */
+public class test9 {
+
+ static class inner {
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ public inner() {
+
+ }
+
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ protected inner(int i) {
+
+ }
+ static class inner2 {
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ public inner2() {
+
+ }
+
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ protected inner2(int i) {
+
+ }
+ }
+ }
+}
+
+class outer {
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ public outer() {
+
+ }
+
+ /**
+ * Constructor
+ * @noreference This constructor is not intended to be referenced by clients.
+ */
+ protected outer(int i) {
+
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test1.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test1.java
new file mode 100644
index 0000000000..2797a72624
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test1.java
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noreference tag on enum methods
+ */
+public enum test1 {
+ A;
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noreference
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test2.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test2.java
new file mode 100644
index 0000000000..1cb9e742ea
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test2.java
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noreference tag on outer enum methods
+ */
+public enum test2 {
+
+}
+
+enum outer {
+ A;
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noreference
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test3.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test3.java
new file mode 100644
index 0000000000..da12299149
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test3.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noreference tag on enum methods
+ */
+public enum test3 {
+ A;
+}
+ enum inner {
+ A;
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noreference
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test4.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test4.java
new file mode 100644
index 0000000000..1eedbdef4f
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test4.java
@@ -0,0 +1,64 @@
+package a.b.c;
+
+
+/**
+ * Test supported @noreference tag on methods in outer / inner enums
+ */
+public enum test4 {
+ A;
+ enum inner {
+ A;
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noreference
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+ enum inner2 {
+ A;
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noreference
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+ }
+ }
+}
+
+enum outer {
+ A;
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noreference
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test5.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test5.java
new file mode 100644
index 0000000000..e2439f60cf
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/enum/test5.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test supported @noreference tag on enum methods in the default package
+ */
+public enum test5 {
+ A;
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1() {
+ return 0;
+ }
+
+ /**
+ * @noreference
+ * @return
+ */
+ public final char m2() {
+ return 's';
+ }
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test1.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test1.java
new file mode 100644
index 0000000000..e3fcf5a803
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test1.java
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noreference tag on interface methods
+ */
+public interface test1 {
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test2.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test2.java
new file mode 100644
index 0000000000..82ff2b2565
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test2.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noreference tag on outer interface methods
+ */
+public interface test2 {
+
+}
+
+interface outer {
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test3.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test3.java
new file mode 100644
index 0000000000..106114592c
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test3.java
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package a.b.c;
+
+/**
+ * Test supported @noreference tag on interface methods
+ */
+public interface test3 {
+}
+ interface inner {
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test4.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test4.java
new file mode 100644
index 0000000000..e0dab712f7
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test4.java
@@ -0,0 +1,48 @@
+package a.b.c;
+
+
+/**
+ * Test supported @noreference tag on methods in outer / inner interfaces
+ */
+public interface test4 {
+ interface inner {
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+ interface inner2 {
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+ }
+ }
+}
+
+interface outer {
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+}
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test5.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test5.java
new file mode 100644
index 0000000000..53f8451997
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/method/valid/interface/test5.java
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+/**
+ * Test supported @noreference tag on interface methods in the default package
+ */
+public interface test5 {
+ /**
+ * @noreference
+ * @return
+ */
+ public int m1();
+
+ /**
+ * @noreference
+ * @return
+ */
+ public abstract char m2();
+}

Back to the top