extract public inherited dependencies from Java class files