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
ConstructorsConstructorDescriptionRequiresDirective(ModuleElement dependency, boolean isStatic, boolean transitive) -
Method Summary
Modifier and TypeMethodDescriptionfinal <R,P> R accept(ModuleElement.DirectiveVisitor<R, P> v, P p) final ModuleElementfinal booleanisStatic()final booleanMethods inherited from class org.microbean.lang.element.ModuleElement.Directive
getKindMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.lang.model.element.ModuleElement.Directive
getKind
-
Constructor Details
-
RequiresDirective
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceModuleElement.Directive- Overrides:
acceptin classModuleElement.Directive
-
getDependency
- Specified by:
getDependencyin interfaceModuleElement.RequiresDirective
-
isStatic
public final boolean isStatic()- Specified by:
isStaticin interfaceModuleElement.RequiresDirective
-
isTransitive
public final boolean isTransitive()- Specified by:
isTransitivein interfaceModuleElement.RequiresDirective
-