How to create a default constructor with Byte Buddy
I want to intercept some method calls on one of my classes but those classes dont have a default constructor. Given the following class, how would I setup Byte Buddy to also create a public no-argument constructor to be able to create the generated class? public class GetLoggedInUsersSaga extends AbstractSpaceSingleEventSaga { private final UserSessionRepository userSessionRepository; @Inject public GetLoggedInUsersSaga(final UserSessionRepository userSessionRepository) { this.userSessionRepository = userSessionRepository; } @StartsSaga public void handle(final GetLoggedInUsersRequest request)