Can I add a reference from method parameter to class field?

Just like this, I wanna to add a reference from parameter of name to field of name, when I use ctrl-click on the parameter of name I can jump to field of name.

public class Main {
private String name = "aaa";

private void showName(String name) {


Can I achieve it?


1 comment
Comment actions Permalink

I'm not sure I understand your question, do you want to achieve a similar feature in your own custom language?


Please sign in to leave a comment.