Project
IntelliJ IDEA
Priority
Normal
Type
Feature
Fix versions
No Fix versions
State
Open
Assignee
Alexey Kudravtsev
Subsystem
Editor. Intention Actions
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Anton Makeev
    4 years ago (22 Oct 2007 14:55)
  • Updated by   root
    2 years ago (17 Jan 2010 20:54)
  • Jira: IDEADEV-22754
    (history, comments)
 
IDEA-41679 'Create getter' intention (from unresolved method call) should determine validable type if one already exists
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
having this:
Foo {
SomType _bar;
} 


I write in another class
foo.getBar()
and press ALT+Enter
the result is
public Object getBar() {
 return _bar;
}

And I'm prompted to edit return type. But it seems that it is possible to determine it automatically.
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments