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

No suggestion for map-style constructor invocation by code assist when the class being constructed is written in Java #332

Closed
mauromol opened this issue Sep 1, 2017 · 2 comments

Comments

@mauromol
Copy link

mauromol commented Sep 1, 2017

This is the old GRECLIPSE-1792.

Consider the following:

package c;

public class MyBeanJava {
	private String foo;
	
	public String getFoo() {
		return foo;
	}
		
	public void setFoo(String foo) {
		this.foo = foo;
	}
	
	public void setBar(String bar) {
		foo = bar.toUpperCase();
	}
}

And:

package c

class ConstructorTest2 {
	static main(args) {
		MyBeanJava b = new MyBeanJava(|)
	}
}

Invoke code assist at "|": no suggestion is given to perform a map-style constructor invocation.

Please note this code is the same as #330, with the only difference being the "bean" class is written in Java instead of Groovy.

@eric-milles
Copy link
Member

Could you give this a re-try with the latest build?

@mauromol
Copy link
Author

mauromol commented Sep 7, 2017

This use case seems to be fixed in 2.9.2.xx-201709052200-e46, thank you! 👍

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

No branches or pull requests

2 participants