Class ModuleInfo.UsesDirective

java.lang.Object
io.inverno.tool.buildtools.ModuleInfo.UsesDirective
Enclosing class:
ModuleInfo

public static class ModuleInfo.UsesDirective extends Object

Represents a uses directive in a module descriptor.

Since:
1.4
Author:
Jeremy Kuhn
  • Field Details

    • typeName

      protected String typeName
      The type which is used in the module.
  • Constructor Details

    • UsesDirective

      public UsesDirective()

      Creates a blank uses directive.

    • UsesDirective

      public UsesDirective(String typeName)

      Creates a uses directive.

      Parameters:
      typeName - the type used in the module
  • Method Details

    • getType

      public String getType()

      Returns the type used in the module.

      Returns:
      the name of the type used in the module
    • toString

      public String toString()
      Overrides:
      toString in class Object