Construct ClassBTypes from parsed classfiles

See individual commit messages.