Refactor to precalculate the annotation handlers for methods at the
point where a frame class is first encountered.