Klasse ExportsDirective


public class ExportsDirective extends ModulePackageAccess
Exports directive AST node type (added in JLS9 API).
 ExportsDirective:
     exports PackageName [ to  ModuleName {, ModuleName } ] ;
 
Seit:
3.14
  • Felddetails

    • NAME_PROPERTY

      public static final ChildPropertyDescriptor NAME_PROPERTY
      The "name" structural property of this node type (child type: Name).
    • MODULES_PROPERTY

      public static final ChildListPropertyDescriptor MODULES_PROPERTY
      The "modules" structural property of this node type (element type: Name).
  • Methodendetails

    • propertyDescriptors

      public static List propertyDescriptors(int apiLevel)
      Returns a list of structural property descriptors for this node type. Clients must not modify the result.
      Parameter:
      apiLevel - the API level; one of the AST.JLS* constants
      Gibt zurück:
      a list of property descriptors (element type: StructuralPropertyDescriptor)