You can query imports using the new release of the SemmleCode plugin. For instance, to find all compilation units that import java.sql.Date type you can try the following query:
from ImportType t
where t.getImportedType().hasQualifiedName("java.sql","Date")
select t.getCompilationUnit(), t