Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/field/class/test4.java')
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/field/class/test4.java72
1 files changed, 72 insertions, 0 deletions
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/field/class/test4.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/field/class/test4.java
new file mode 100644
index 0000000000..20f96a23b0
--- /dev/null
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/field/class/test4.java
@@ -0,0 +1,72 @@
+/*******************************************************************************
+ * 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 final fields in inner / outer classes
+ */
+public class test4 {
+ /**
+ * @noreference
+ */
+ public final Object f1 = null;
+ /**
+ * @noreference
+ */
+ protected final int f2 = 0;
+ /**
+ * @noreference
+ */
+ private final char[] f3 = {};
+ static class inner {
+ /**
+ * @noreference
+ */
+ public final Object f1 = null;
+ /**
+ * @noreference
+ */
+ protected final int f2 = 0;
+ /**
+ * @noreference
+ */
+ private final char[] f3 = {};
+ class inner2 {
+ /**
+ * @noreference
+ */
+ public final Object f1 = null;
+ /**
+ * @noreference
+ */
+ protected final int f2 = 0;
+ /**
+ * @noreference
+ */
+ private final char[] f3 = {};
+ }
+ }
+}
+
+class outer {
+ /**
+ * @noreference
+ */
+ public final Object f1 = null;
+ /**
+ * @noreference
+ */
+ protected final int f2 = 0;
+ /**
+ * @noreference
+ */
+ private final char[] f3 = {};
+} \ No newline at end of file

Back to the top