mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8292576: Improve wording of AccessFlag-related specs
Reviewed-by: alanb
This commit is contained in:
parent
5ca268ca65
commit
58aae340a9
2 changed files with 26 additions and 19 deletions
|
@ -213,8 +213,10 @@ public class ModuleDescriptor
|
|||
}
|
||||
|
||||
/**
|
||||
* {@return an unmodifiable set of the module {@linkplain AccessFlag
|
||||
* requires flags, possibly empty}}
|
||||
* Returns the set of the module {@linkplain AccessFlag
|
||||
* requires flags}.
|
||||
*
|
||||
* @return A possibly-empty unmodifiable set of requires flags
|
||||
* @see #modifiers()
|
||||
* @jvms 4.7.25 The Module Attribute
|
||||
* @since 20
|
||||
|
@ -447,8 +449,10 @@ public class ModuleDescriptor
|
|||
}
|
||||
|
||||
/**
|
||||
* {@return an unmodifiable set of the module {@linkplain AccessFlag
|
||||
* export flags} for this module descriptor, possibly empty}
|
||||
* Returns the set of the module {@linkplain AccessFlag
|
||||
* export flags} for this module descriptor.
|
||||
*
|
||||
* @return A possibly-empty unmodifiable set of export flags
|
||||
* @see #modifiers()
|
||||
* @jvms 4.7.25 The Module Attribute
|
||||
* @since 20
|
||||
|
@ -669,8 +673,10 @@ public class ModuleDescriptor
|
|||
}
|
||||
|
||||
/**
|
||||
* {@return an unmodifiable set of the module {@linkplain AccessFlag
|
||||
* opens flags}, possibly empty}
|
||||
* Returns the set of the module {@linkplain AccessFlag opens
|
||||
* flags}.
|
||||
*
|
||||
* @return A possibly-empty unmodifiable set of opens flags
|
||||
* @see #modifiers()
|
||||
* @jvms 4.7.25 The Module Attribute
|
||||
* @since 20
|
||||
|
@ -1354,8 +1360,9 @@ public class ModuleDescriptor
|
|||
}
|
||||
|
||||
/**
|
||||
* {@return an unmodifiable set of the {@linkplain AccessFlag
|
||||
* module flags}, possibly empty}
|
||||
* Returns the set of the {@linkplain AccessFlag module flags}.
|
||||
*
|
||||
* @return A possibly-empty unmodifiable set of module flags
|
||||
* @see #modifiers()
|
||||
* @jvms 4.7.25 The Module Attribute
|
||||
* @since 20
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue