Fix -Lmakefile LOCAL_JAVA_LIBRARIES does not include hierarchy.

Fix: 33249372

Test: update_makefiles.sh
Change-Id: I03f4197ce85adae764eda8ed303e47fa00fc881c
diff --git a/AST.h b/AST.h
index 96abed7..dc5a7e2 100644
--- a/AST.h
+++ b/AST.h
@@ -90,6 +90,10 @@
 
     void getImportedPackages(std::set<FQName> *importSet) const;
 
+    // Run getImportedPackages on this, then run getImportedPackages on
+    // each AST in each package referenced in importSet.
+    void getImportedPackagesHierarchy(std::set<FQName> *importSet) const;
+
     status_t generateVts(const std::string &outputPath) const;
 
     bool isJavaCompatible() const;