public static final class Java.ProvidesModuleDirective extends Java.Located implements Java.ModuleDirective
| Modifier and Type | Field and Description |
|---|---|
String[] |
typeName
The "service", see JLS9 7.7.4.
|
String[][] |
withTypeNames
The "service providers" declared in the "
with" clause of the directive; see JLS9 7.7.4. |
NOWHERE| Modifier | Constructor and Description |
|---|---|
protected |
ProvidesModuleDirective(Location location,
String[] typeName,
String[][] withTypeNames) |
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.ModuleDirectiveVisitor<R,EX> visitor)
Invokes the "
visit...()" method of Visitor.ModuleDirectiveVisitor for the concrete Java.ModuleDirective type. |
getLocation, throwCompileExceptionpublic final String[] typeName
public final String[][] withTypeNames
with" clause of the directive; see JLS9 7.7.4.@Nullable public <R,EX extends Throwable> R accept(Visitor.ModuleDirectiveVisitor<R,EX> visitor) throws EX extends Throwable
Java.ModuleDirectivevisit...()" method of Visitor.ModuleDirectiveVisitor for the concrete Java.ModuleDirective type.accept in interface Java.ModuleDirectiveEX extends ThrowableCopyright © 2022. All rights reserved.