8310676: add note about unnamed module to Elements.getAllModuleElements
Reviewed-by: jjg
This commit is contained in:
parent
bfcca5eff9
commit
69f3114c41
@ -254,6 +254,11 @@ public interface Elements {
|
||||
* @implSpec The default implementation of this method returns
|
||||
* an empty set.
|
||||
*
|
||||
* @apiNote
|
||||
* When an environment includes modules, both named modules and
|
||||
* {@linkplain ModuleElement#isUnnamed() unnamed modules} may be
|
||||
* returned.
|
||||
*
|
||||
* @return the known module elements, or an empty set if there are no modules
|
||||
* @see #getModuleElement(CharSequence)
|
||||
* @since 9
|
||||
|
Loading…
Reference in New Issue
Block a user