equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2006, 2017, 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. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
109 */ |
109 */ |
110 MODULE_PATH, |
110 MODULE_PATH, |
111 |
111 |
112 /** |
112 /** |
113 * Location to search for module patches. |
113 * Location to search for module patches. |
|
114 * @spec JPMS |
114 * @since 9 |
115 * @since 9 |
115 * @spec JPMS |
|
116 */ |
116 */ |
117 PATCH_MODULE_PATH; |
117 PATCH_MODULE_PATH; |
118 |
118 |
119 /** |
119 /** |
120 * Returns a location object with the given name. The following |
120 * Returns a location object with the given name. The following |
163 default: |
163 default: |
164 return false; |
164 return false; |
165 } |
165 } |
166 } |
166 } |
167 |
167 |
|
168 /** |
|
169 * {@inheritDoc} |
|
170 * @since 9 |
|
171 */ |
168 @Override |
172 @Override |
169 public boolean isModuleOrientedLocation() { |
173 public boolean isModuleOrientedLocation() { |
170 switch (this) { |
174 switch (this) { |
171 case MODULE_SOURCE_PATH: |
175 case MODULE_SOURCE_PATH: |
172 case ANNOTATION_PROCESSOR_MODULE_PATH: |
176 case ANNOTATION_PROCESSOR_MODULE_PATH: |