diff options
Diffstat (limited to 'apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/valid/test1.java')
-rw-r--r-- | apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/valid/test1.java | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/valid/test1.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/valid/test1.java new file mode 100644 index 0000000000..e15eb22f40 --- /dev/null +++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/valid/test1.java @@ -0,0 +1,48 @@ +/******************************************************************************* + * Copyright (c) 2008, 2013 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; + +/** + * Tests valid @noreference tags on nested inner annotations + * @noreference + */ +public @interface test1 { + + /** + * @noreference + */ + @interface inner { + + } + + @interface inner1 { + /** + * @noreference + */ + @interface inner2 { + + } + } + + @interface inner2 { + + } +} + +@interface outer { + + /** + * @noreference + */ + @interface inner { + + } +} |