Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Open
Assignee
Alexey Kudravtsev
Subsystem
Editor. Code Completion
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Fabian Merki
    4 years ago (01 Sep 2007 17:18)
  • Updated by   Evgeniy Schepotiev
    21 months ago (27 Apr 2010 16:27)
  • Jira: IDEADEV-20881
    (history, comments)
 
IDEA-40741 Can't generate delegates of typed super-class attributes
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
in sub it is not possible to generate delegations! in the dialog data:T is shown but it should / must know the type StringBuffer

public class Base<T> {
protected T data;
public Base(T t) {
data = t;
}
}
public class Sub extends Base<StringBuffer> {
public Sub (StringBuffer sb) {
super(sb);
}
// now i would like to delegate to the sb which is 'data' in the superclass
}


Environment: Windows - but shouldn't matter!
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments