spring-framework / org.springframework.asm / ClassWriter / newModule

newModule

open fun newModule(moduleName: String): Int

Adds a module reference to the constant pool of the class being build. Does nothing if the constant pool already contains a similar item. This method is intended for Attribute sub classes, and is normally not needed by class generators or adapters.

Parameters

moduleName - name of the module.

Return
the index of a new or already existing module reference item.