java.lang.Object
org.microbean.lang.element.ModuleElement.Directive
org.microbean.lang.element.ModuleElement.OpensDirective
- All Implemented Interfaces:
ModuleElement.Directive
,ModuleElement.OpensDirective
- Enclosing class:
ModuleElement
public static final class ModuleElement.OpensDirective
extends ModuleElement.Directive
implements ModuleElement.OpensDirective
-
Constructor Summary
ConstructorDescriptionOpensDirective
(PackageElement pkg, List<? extends ModuleElement> targetModules) -
Method Summary
Modifier and TypeMethodDescriptionfinal <R,
P> R accept
(ModuleElement.DirectiveVisitor<R, P> v, P p) final PackageElement
final List
<? extends ModuleElement> Methods inherited from class org.microbean.lang.element.ModuleElement.Directive
getKind
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.lang.model.element.ModuleElement.Directive
getKind
-
Constructor Details
-
OpensDirective
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceModuleElement.Directive
- Overrides:
accept
in classModuleElement.Directive
-
getPackage
- Specified by:
getPackage
in interfaceModuleElement.OpensDirective
-
getTargetModules
- Specified by:
getTargetModules
in interfaceModuleElement.OpensDirective
-