It would be nice to create a new getter method in AbstractCIBase and to mark it as @Restricted(NoExternalUse.class) so that it becomes a core-internal API. It would help to avoid weird-looking and potentially unsafe package-level casts
Oleg Nenashev Sorry for the inconvenience occurred in the pull request. There were some issues due to which it happened, so I just closed previous pull request and now I will do two individual PR.
I think error is due to the “Restricted(NoExternalUse.class)” as shown in the tests. And please can you help me that how can I compile and run the complete code on my local computer and can do all these tests on local?
Can you please provide me some guidance on how to compile and run this code on local and do these tests. As in test, error of "Restricted" is shown. So I can just check it on my local.
And do you think that changes done(new getter method) are perfect or I need to work on that?
TheI have committed suggested changes but the compilation error continues which is due to the tag @Restricted(NoExternalUse.class). So any suggestions what should be done to remove this compilation error?