类 KotlinMetadata
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.kotlin.KotlinMetadata
-
- 所有已实现的接口:
java.io.Serializable,Processable
- 直接已知子类:
KotlinDeclarationContainerMetadata,KotlinMultiFileFacadeKindMetadata,KotlinSyntheticClassKindMetadata,UnsupportedKotlinMetadata
public abstract class KotlinMetadata extends SimpleProcessable
This abstract class represents metadata that is attached to a Kotlin class, parsed from its @Metadata tag.Documentation on the different fields is copied from: https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/jvm/runtime/kotlin/Metadata.kt
- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 intkA kind of the metadata this annotation encodes.int[]mvThe version of the metadata provided in the arguments of this annotation.java.lang.StringpnFully qualified name of the package this class is located in, from Kotlin's point of view, or empty string if this name does not differ from the JVM's package FQ name.intxiAn extra int.java.lang.StringxsAn extra string.-
从类继承的字段 proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
构造器概要
构造器 限定符 构造器 说明 protectedKotlinMetadata(int k, int[] mv, int xi, java.lang.String xs, java.lang.String pn)
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 abstract voidaccept(Clazz clazz, KotlinMetadataVisitor kotlinMetadataVisitor)-
从类继承的方法 proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 proguard.util.Processable
accept
-
-
-
-
字段详细资料
-
k
public int k
A kind of the metadata this annotation encodes. Kotlin compiler recognizes the following kinds (see KotlinClassHeader.Kind):1 Class 2 File 3 Synthetic class 4 Multi-file class facade 5 Multi-file class part
The class file with a kind not listed here is treated as a non-Kotlin file.
-
mv
public int[] mv
The version of the metadata provided in the arguments of this annotation.
-
xi
public int xi
An extra int. Bits of this number represent the following flags:* 0 - this is a multi-file class facade or part, compiled with `-Xmultifile-parts-inherit`. * 1 - this class file is compiled by a pre-release version of Kotlin and is not visible to release versions. * 2 - this class file is a compiled Kotlin script source file (.kts). * 3 - the metadata of this class file is not supposed to be read by the compiler, whose major.minor version is less than the major.minor version of this metadata ([mv]).
-
xs
public java.lang.String xs
An extra string. For a multi-file part class, internal name of the facade class.
-
pn
public java.lang.String pn
Fully qualified name of the package this class is located in, from Kotlin's point of view, or empty string if this name does not differ from the JVM's package FQ name. These names can be different in case the [JvmPackageName] annotation is used. Note that this information is also stored in the corresponding module's `.kotlin_module` file.
-
-
方法详细资料
-
accept
public abstract void accept(Clazz clazz, KotlinMetadataVisitor kotlinMetadataVisitor)
-
-