The research paper 'Converting Java Programs to Use Generic Libraries' presents an algorithm that automates the process of transforming legacy Java code to use generic libraries.
Before generics, Java programmers used 'raw types' which led to errors and inefficiencies.
The algorithm identifies types of objects in the code and propagates them into variable and method declarations, ensuring consistency.
The researchers implemented their algorithm in a tool called Jiggetai, offering automation and many transformative benefits.