spring-framework / org.springframework.asm / Type / getSize

getSize

open fun getSize(): Int

Returns the size of values of this type. This method must not be used for method types.

Return
the size of values of this type, i.e., 2 for long and double, 0 for void and 1 otherwise.