-
Notifications
You must be signed in to change notification settings - Fork 53
Remove the self-reference me->: Does not work in interface methods #41
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi ConjuringCoffee, generally, ABAP cleaner can only remove "me->" if the method signature is known – otherwise, it could not be sure in your example whether That's why this rule usually does not work on interface methods, where the signature is usually "out of sight". Admittedly, though, that's not the case for local interfaces as in your example – so the rule could indeed be enhanced to process these cases! Kind regards, |
Hmm, I did not consider that. That's unfortunate - thanks for the explanation! |
I suggest adding this to the documentation of the rule. I just noticed that this limitation also impacts attributes inherited from another global class. |
Hi ConjuringCoffee, as mentioned before, the perfect solution is unfortunately not possible here as long as we do not introduce backend calls to ABAP cleaner; however, I think this is as good as it gets for now! Kind regards, |
Hi Jörg-Michael, the self-reference
me->
is not removed in interface methods.Here's an example I re-created using local objects:
Here's the result:

The text was updated successfully, but these errors were encountered: