Package-level declarations

Types

Link copied to clipboard

A ConstantPool is a list of ConstantPoolEntrys We store data inside the ConstantPool. This has the advantage that we can reference to the data by an index. Double-used data will only be stored once, and we can reference to it by the index.

Link copied to clipboard
sealed class ConstantPoolEntry

A ConstantPoolEntry is an entry in the constant pool of a class file

Link copied to clipboard

An exception that is thrown when the tag of a constant pool entry is invalid

Link copied to clipboard
open class ConstantPoolException(message: String? = null, cause: Throwable? = null) : Exception

A ConstantPoolException is thrown if an error occurs while handling the ConstantPool

Link copied to clipboard
open class ConstantPoolOverflowException(message: String? = null, cause: Throwable? = null) : ConstantPoolException

A ConstantPoolOverflowException is thrown if the ConstantPool overflows

Link copied to clipboard
open class ConstantPoolTypeException(message: String? = null, cause: Throwable? = null) : ConstantPoolException

A ConstantPoolTypeException is thrown if the ConstantPool contains a wrong type

Link copied to clipboard

A MutableConstantPool is a ConstantPool with the ability to add and remove ConstantPoolEntrys