Skip to content

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

@mauromol

Description

@mauromol

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions