]
George Gastaldi reassigned ROASTER-116:
---------------------------------------
Assignee: George Gastaldi
Roaster - Issues with handling interfaces extending generic types
-----------------------------------------------------------------
Key: ROASTER-116
URL:
https://issues.jboss.org/browse/ROASTER-116
Project: Roaster
Issue Type: Bug
Components: API
Affects Versions: 2.19.4.Final
Reporter: Jagadeesh Jayavelu
Assignee: George Gastaldi
Roaster is not correctly reading the interfaces that extends with generic type
//Interface definition
import org.springframework.data.repository.CrudRepository;
public interface AccountRespository extends CrudRepository<Account, Integer>
{
}
//Parsing code
JavaInterfaceSource javaInterface = Roaster.parse(JavaInterfaceSource.class, new
File(file));
javaInterface.getInterfaces();
getInterfaces method is returning
["org.springframework.data.repository.CrudRepository"]
Unable to get the generic types in declaration. In this case <Account,Integer>