< prev index next >
src/java.base/share/classes/java/lang/module/ModuleDescriptor.java
Print this page
@@ -1329,11 +1329,11 @@
}
/**
* <p> Returns {@code true} if this is an open module. </p>
*
- * <p> This method is equivalent to testing if the set of {@link #modifiers
+ * <p> This method is equivalent to testing if the set of {@link #modifiers()
* modifiers} contains the {@link Modifier#OPEN OPEN} modifier. </p>
*
* @return {@code true} if this is an open module
*/
public boolean isOpen() {
@@ -1341,11 +1341,11 @@
}
/**
* <p> Returns {@code true} if this is an automatic module. </p>
*
- * <p> This method is equivalent to testing if the set of {@link #modifiers
+ * <p> This method is equivalent to testing if the set of {@link #modifiers()
* modifiers} contains the {@link Modifier#OPEN AUTOMATIC} modifier. </p>
*
* @return {@code true} if this is an automatic module
*/
public boolean isAutomatic() {
@@ -1687,11 +1687,11 @@
* The export
*
* @return This builder
*
* @throws IllegalStateException
- * If the {@link Exports#source package} is already declared as
+ * If the {@link Exports#source() package} is already declared as
* exported or this builder is for an automatic module
*/
public Builder exports(Exports e) {
if (automatic) {
throw new IllegalStateException("Automatic modules cannot declare"
< prev index next >