1 /*******************************************************************************
2  * Copyright (c) 2008, 2009 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package a.b.c;
15 
16 
17 /**
18  * Test supported @noinstantiate tag on constructors in outer / inner classes
19  */
20 public class test17 {
21 
22 	/**
23 	 * Constructor
24 	 * @noinstantiate This constructor is not intended to be referenced by clients.
25 	 */
test17()26 	public test17() {
27 
28 	}
29 
30 	/**
31 	 * Constructor
32 	 * @noinstantiate This constructor is not intended to be referenced by clients.
33 	 */
test17(int i)34 	public test17(int i) {
35 
36 	}
37 
38 	static class inner {
39 		/**
40 		 * Constructor
41 		 * @noinstantiate This constructor is not intended to be referenced by clients.
42 		 */
inner()43 		public inner() {
44 
45 		}
46 
47 		/**
48 		 * Constructor
49 		 * @noinstantiate This constructor is not intended to be referenced by clients.
50 		 */
inner(int i)51 		protected inner(int i) {
52 
53 		}
54 		static class inner2 {
55 			/**
56 			 * Constructor
57 			 * @noinstantiate This constructor is not intended to be referenced by clients.
58 			 */
inner2()59 			public inner2() {
60 
61 			}
62 
63 			/**
64 			 * Constructor
65 			 * @noinstantiate This constructor is not intended to be referenced by clients.
66 			 */
inner2(int i)67 			protected inner2(int i) {
68 
69 			}
70 		}
71 	}
72 }
73 
74 class outer {
75 	/**
76 	 * Constructor
77 	 * @noinstantiate This constructor is not intended to be referenced by clients.
78 	 */
outer()79 	public outer() {
80 
81 	}
82 
83 	/**
84 	 * Constructor
85 	 * @noinstantiate This constructor is not intended to be referenced by clients.
86 	 */
outer(int i)87 	protected outer(int i) {
88 
89 	}
90 }
91