Right now its declared asAbstractCas getCasInterface(CAS cas, Class<? extends AbstractCas> requiredInterface);
but I think it should be<T extends AbstractCas> T getCasInterface(CAS cas, Class<? extends AbstractCas> requiredInterface);
I will change it if there are no objections. Jörn