if you had getSomeEnum().ordinal() and the type returned by getSomeEnum
changed to not be an enum, the recorder wouldn't catch it since it would
see `j.l.Enum::ordinal`, not record it since its a jvm method, and
`getSomeEnum()SomeEnum`, but not SomeEnum::ordinal or SomeEnum>Enum
we have to do this as part of a compiler plugin, and not by just looking
at the classes' bytecode, because jls§13.1 requires inlining of certain
constant values, so references to these will not be present in the
bytecode.