Improved name lookup in order to allow partial names to refer to external

(imported) packages.

Bug: 30977424
Change-Id: I0a3757d6c3b10229627e2c1d6bc6176f88e13151
diff --git a/FQName.h b/FQName.h
index ae7fe80..9570386 100644
--- a/FQName.h
+++ b/FQName.h
@@ -50,6 +50,8 @@
     // i.e. "android.hardware.Foo.V1_0.IBar"
     std::string javaName() const;
 
+    bool endsWith(const FQName &other) const;
+
     void getPackageComponents(std::vector<std::string> *components) const;
 
     void getPackageAndVersionComponents(