handle class resolving in ClassPoolAccessor