Package-level declarations

Types

Link copied to clipboard
open class Class(    val pool: ConstantPool,     val nameConstant: Int,     val superNameConstant: Int,     val flags: Short,     val interfacesConstants: List<Int>,     val subClasses: List<Class>,     val methods: List<Method>,     val fields: List<Field>,     val attributes: List<Attribute>)

A class that represents a class in the bytecode

Link copied to clipboard
open class Field(val pool: ConstantPool, val nameConstant: Int, val typeConstant: Int, val flags: Short, val attributes: List<Attribute>)

A class representing a field in the shake StorageFormat

Link copied to clipboard
open class Method(val pool: ConstantPool, val qualifiedNameConstant: Int, val flags: Short, val attributes: List<Attribute>)

A class representing a method in the bytecode

Link copied to clipboard
class MutableClass(    pool: MutableConstantPool,     var nameConstant: Int,     var superNameConstant: Int,     var flags: Short,     var interfacesConstants: MutableList<Int>,     fields: MutableList<MutableField>,     methods: MutableList<MutableMethod>,     subClasses: MutableList<MutableClass>,     attributes: MutableList<MutableAttribute>) : Class

A mutable class that represents a class in the bytecode

Link copied to clipboard
class MutableField(pool: MutableConstantPool, var nameConstant: Int, var typeConstant: Int, var flags: Short, attributes: MutableList<Attribute>) : Field

A mutable version of Field

Link copied to clipboard
class MutableMethod(pool: MutableConstantPool, var qualifiedNameConstant: Int, var flags: Short, attributes: MutableList<Attribute>) : Method

A mutable version of Method

Link copied to clipboard
class MutableStorageFormat(    var major: Short,     var minor: Short,     var packageNameConstant: Int,     var constantPool: MutableConstantPool,     var classes: MutableList<MutableClass>,     var methods: MutableList<MutableMethod>,     var fields: MutableList<MutableField>) : StorageFormat

Mutable implementation of the StorageFormat See the storage format specification for more information

Link copied to clipboard
open class StorageFormat(    val major: Short,     val minor: Short,     val packageNameConstant: Int,     val constantPool: ConstantPool,     val classes: List<Class>,     val methods: List<Method>,     val fields: List<Field>) : DumpAble

Implementation of the storage format. See the storage format specification for more information

Properties

Link copied to clipboard
const val MAGIC: Int = 1242997880

The magic number of the storage format is used to identify the storage format. It is always the same. See the storage format specification for more information