I am trying to find a plugin or some shortcut that exists in eclipse for this function.
Basically, is there a shortcut that, if I click, will lead to the creation of a constructor with all the public variables of the class defined in it?
So, if I have a Student class like
public class Student{ public String name; public int age; }
Then pressing the shortcut key results in
Student( String name , int age ){ this.age = age; this.name = name; }
It is hard to have specific ones, but is there any function to get all assigned variables?
user506710
source share