public abstract class KotlinMetadata extends SimpleProcessable
Documentation on the different fields is copied from: https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/jvm/runtime/kotlin/Metadata.kt
Modifier and Type | Field and Description |
---|---|
int |
k
A kind of the metadata this annotation encodes.
|
int[] |
mv
The version of the metadata provided in the arguments of this annotation.
|
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.
|
int |
xi
An extra int.
|
java.lang.String |
xs
An extra string.
|
processingFlags, processingInfo
Modifier | Constructor and Description |
---|---|
protected |
KotlinMetadata(int k,
int[] mv,
int xi,
java.lang.String xs,
java.lang.String pn) |
Modifier and Type | Method and Description |
---|---|
abstract void |
accept(Clazz clazz,
KotlinMetadataVisitor kotlinMetadataVisitor) |
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
public int k
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.
public int[] mv
public int xi
* 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]).
public java.lang.String xs
public java.lang.String pn
protected KotlinMetadata(int k, int[] mv, int xi, java.lang.String xs, java.lang.String pn)
public abstract void accept(Clazz clazz, KotlinMetadataVisitor kotlinMetadataVisitor)