Class KotlinModule

All Implemented Interfaces:
Serializable, FeatureNamed, Processable

public class KotlinModule extends ResourceFile implements Processable
Represents a Kotlin module file - this file describes the contents of a Kotlin module: which file facades and which multi-file part classes make up the module.

The name of the module is the filename, excluding the extension (.kotlin_module).

See Also:
  • Field Details

    • name

      public String name
      The module name, as opposed to the fileName which includes the module name.

      fileName will be like "META-INF/my_module_name.kotlin_module".

      The fileName is fixed to match after obfuscation by KotlinModuleReferenceFixer.

    • version

      public KotlinMetadataVersion version
    • modulePackages

      public final List<KotlinModulePackage> modulePackages
  • Constructor Details

    • KotlinModule

      public KotlinModule(String fileName, long fileSize)
  • Method Details