Top Description Inners Constructors Methods
com.sun.tools.javac.code

public abstract Class Directive

extends Object
implements Directive
Class Inheritance
All Implemented Interfaces
javax.lang.model.element.ModuleElement.Directive
Known Direct Subclasses
com.sun.tools.javac.code.Directive.ExportsDirective, com.sun.tools.javac.code.Directive.OpensDirective, com.sun.tools.javac.code.Directive.ProvidesDirective, com.sun.tools.javac.code.Directive.RequiresDirective, com.sun.tools.javac.code.Directive.UsesDirective
Imports
java.util.Collections, .EnumSet, .Locale, .Set, javax.lang.model.element.ModuleElement, .ModuleElement.DirectiveVisitor, com.sun.tools.javac.api.Messages, com.sun.tools.javac.code.Symbol.ClassSymbol, .Symbol.ModuleSymbol, .Symbol.PackageSymbol, com.sun.tools.javac.util.DefinedBy, .DefinedBy.Api, .List

Root class for the directives that may appear in module compilation units.

This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
Directive.ExportsDirective

'exports' Package ';' 'exports' Package 'to' ModuleList ';'

public static enum
Directive.ExportsFlag

Flags for ExportsDirective.

public static class
Directive.OpensDirective

'opens' Package ';' 'opens' Package 'to' ModuleList ';'

public static enum
Directive.OpensFlag

Flags for OpensDirective.

public static class
Directive.ProvidesDirective

'provides' ServiceName 'with' QualifiedIdentifier ';'

public static class
Directive.RequiresDirective

'requires' ('static' | 'transitive')* ModuleName ';'

public static enum
Directive.RequiresFlag

Flags for RequiresDirective.

public static class
Directive.UsesDirective

'uses' ServiceName ';'

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait