Class Export


  • public class Export
    extends Object
    An exported definition.

    See Exports for reference.

    • Constructor Detail

      • Export

        public Export​(String name,
                      int index,
                      ExternalType exportType)
        Construct a new instance. The index is interpreted according to type.
        Parameters:
        name - the export name (must not be null)
        index - the index of the definition to export
        exportType - the export type (must not be null)
    • Method Detail

      • name

        public String name()
        Returns:
        the export name
      • index

        public int index()
        Returns:
        the export index
      • exportType

        public ExternalType exportType()
        Returns:
        the type of exported definition
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Export other)