Methods to extract data from constant pool with consistency checks