java.lang.Object
org.microbean.lang.element.ModuleElement.Directive
org.microbean.lang.element.ModuleElement.RequiresDirective
- All Implemented Interfaces:
ModuleElement.Directive
,ModuleElement.RequiresDirective
- Enclosing class:
ModuleElement
public static final class ModuleElement.RequiresDirective
extends ModuleElement.Directive
implements ModuleElement.RequiresDirective
-
Constructor Summary
ConstructorDescriptionRequiresDirective
(ModuleElement dependency, boolean isStatic, boolean transitive) -
Method Summary
Modifier and TypeMethodDescriptionfinal <R,
P> R accept
(ModuleElement.DirectiveVisitor<R, P> v, P p) final ModuleElement
final boolean
isStatic()
final boolean
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
-
RequiresDirective
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceModuleElement.Directive
- Overrides:
accept
in classModuleElement.Directive
-
getDependency
- Specified by:
getDependency
in interfaceModuleElement.RequiresDirective
-
isStatic
public final boolean isStatic()- Specified by:
isStatic
in interfaceModuleElement.RequiresDirective
-
isTransitive
public final boolean isTransitive()- Specified by:
isTransitive
in interfaceModuleElement.RequiresDirective
-