class Test { private AbstractCCM<String> myModel; } abstract class AbstractCCM<T> extends javax.swing.AbstractListModel {}