Currently @CompileWithTargetClassAccess works by using MethodHandles.privateLookupIn and having target classes listed on the annotation. This is quite error prone and makes it impossible to have target access if the there isn't a class in the same package available.

We can probably get away with a reflection approach instead which will simplify a lot of tests.