MCPcopy Index your code
hub / github.com/cretz/stackparam / cp_len

Method cp_len

src/bytecode/classfile.rs:123–126  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

121 }
122
123 pub fn cp_len(&self) -> usize {
124 //self.constants.iter().fold(0, |acc, x| acc + x.cp_size())
125 self.constants.len()
126 }
127}
128
129impl Default for ConstantPool {

Callers 1

write_constant_poolMethod · 0.80

Calls 1

lenMethod · 0.80

Tested by

no test coverage detected