Class KotlinMetadataVersion


  • public class KotlinMetadataVersion
    extends java.lang.Object
    Small container for KotlinMetadataVersion metadata (mv).
    • Field Detail

      • major

        public final int major
      • minor

        public final int minor
      • patch

        public final int patch
    • Constructor Detail

      • KotlinMetadataVersion

        public KotlinMetadataVersion​(int[] version)
      • KotlinMetadataVersion

        public KotlinMetadataVersion​(int major,
                                     int minor,
                                     int patch)
    • Method Detail

      • canBeWritten

        public boolean canBeWritten()
        Returns:
        true iff we support writing this version of Kotlin Metadata.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toArray

        public int[] toArray()