Package proguard.resources.kotlinmodule
Class KotlinModule
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.util.SimpleFeatureNamedProcessable
-
- proguard.resources.file.ResourceFile
-
- proguard.resources.kotlinmodule.KotlinModule
-
- All Implemented Interfaces:
java.io.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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<KotlinModulePackage>
modulePackages
java.lang.String
name
The module name, as opposed to the fileName which includes the module name.KotlinMetadataVersion
version
-
Fields inherited from class proguard.resources.file.ResourceFile
fileName, fileSize, references
-
Fields inherited from class proguard.util.SimpleFeatureNamedProcessable
extraFeatureNames, featureName
-
Fields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
Constructor Summary
Constructors Constructor Description KotlinModule(java.lang.String fileName, long fileSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ResourceFileVisitor resourceFileVisitor)
void
accept(KotlinModuleVisitor kotlinModuleVisitor)
void
modulePackagesAccept(KotlinModulePackageVisitor kotlinModulePackageVisitor)
-
Methods inherited from class proguard.resources.file.ResourceFile
getFileName, getFileSize, toString
-
Methods inherited from class proguard.util.SimpleFeatureNamedProcessable
addExtraFeatureName, getExtraFeatureNames, getFeatureName, isInFeature, setFeatureName
-
Methods inherited from class proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface proguard.util.Processable
getProcessingFlags, getProcessingInfo, setProcessingFlags, setProcessingInfo
-
-
-
-
Field Detail
-
name
public java.lang.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 java.util.List<KotlinModulePackage> modulePackages
-
-
Method Detail
-
modulePackagesAccept
public void modulePackagesAccept(KotlinModulePackageVisitor kotlinModulePackageVisitor)
-
accept
public void accept(ResourceFileVisitor resourceFileVisitor)
- Overrides:
accept
in classResourceFile
-
accept
public void accept(KotlinModuleVisitor kotlinModuleVisitor)
-
-