The wider context is that I am writing a tool which tries to rough-estimate the consultancy potential of a java developer with respect to various java libraries/technologies across projects in an organization.
The version history of a file gives me the developer who wrote/modified each line of code. If I can map java source code constructs to particular import statements(wherever relevent) I can give come up with a scoring system to assign points to developers for each usage of a java library api.