| Summary: | [quick fix] Create class from constructor call with actual constructor | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Lukas Eder <lukas.eder> |
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | noopur_gupta |
| Version: | 4.6 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
I have the following code: ---------------------------------------- public class Test { void method() { new Something("abc"); } } ---------------------------------------- Currently, there is no class "Something". The quick fix suggests creating the class "Something", but it would be nice if there is already a constructor stub in it, which matches the signature of my code. Or at least to have that option in the "create class" dialog. Current workaround: After class creation, go back to "Test" and quick fix again using "Create constructor Something(String)"