Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate CallMatcher from method signature #7

Closed
picimako opened this issue Feb 26, 2023 · 1 comment
Closed

Generate CallMatcher from method signature #7

picimako opened this issue Feb 26, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@picimako
Copy link
Owner

Tasks

  • Implement an intention action that would generate a CallMatcher instantiation code from a method's signature.
  • When invoked on a method name in a signature, it would generate something like this, based on whether the method is a static/instance method, the parameter names and counts:
CallMatcher.instanceCall(<container class name>, <instance method name>);
//or
CallMatcher.staticCall(<container class name>, <static method name>).parameterCount(<count>);
//and so on...
  • If the method is an instance method, then it may provide two options whether to generate instanceCall or exactInstanceCall.
  • The intention action would copy the generated code to the OS clipboard.
@picimako picimako added the enhancement New feature or request label Feb 26, 2023
@picimako
Copy link
Owner Author

Completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant