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
}