langtools/test/tools/javac/annotations/repeatingAnnotations/combo/BasicSyntaxCombo.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
161 |
161 |
162 String template = Helper.template; |
162 String template = Helper.template; |
163 String replaceStr = "/*"+type+"*/"; |
163 String replaceStr = "/*"+type+"*/"; |
164 StringBuilder annoData = new StringBuilder(); |
164 StringBuilder annoData = new StringBuilder(); |
165 annoData.append(Helper.ContentVars.IMPORTCONTAINERSTMTS.getVal()) |
165 annoData.append(Helper.ContentVars.IMPORTCONTAINERSTMTS.getVal()) |
166 .append(Helper.ContentVars.CONTAINERFOR.getVal()) |
|
167 .append(Helper.ContentVars.CONTAINER.getVal()) |
166 .append(Helper.ContentVars.CONTAINER.getVal()) |
168 .append(Helper.ContentVars.CONTAINEDBY.getVal()) |
167 .append(Helper.ContentVars.REPEATABLE.getVal()) |
169 .append(Helper.ContentVars.BASE.getVal()); |
168 .append(Helper.ContentVars.BASE.getVal()); |
170 |
169 |
171 JavaFileObject pkgInfoFile = null; |
170 JavaFileObject pkgInfoFile = null; |
172 |
171 |
173 if (type.equals("PACKAGE")) { |
172 if (type.equals("PACKAGE")) { |