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

Use recovered method symbol #539

Commits on Jul 2, 2024

  1. Use recovered method symbol

    Needed to use reflection to access the field containing the recovered
    symbol.
    
    - Fixes "Remove argument", "Add parameter", "Qualify with enclosing
      type" quick fixes for the following snippet:
    
    ```java
    package io.github.datho7561;
    
    public class MyCoolCodeActions {
    	public void run(int i) {
    
    	}
    	public void foo() {
    		new Runnable() {
    			void run() {
    				run(1);
    			}
    		}
    	}
    }
    ```
    
    - Should fix `UnresolvedMethodsQuickFixTest.testMethodInAnonymousCovering1` in jdt-ls test suite
    
    Signed-off-by: David Thompson <davthomp@redhat.com>
    datho7561 committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    9710acf View commit details
    Browse the repository at this point in the history