Class LookupResult


  • @Immutable
    public class LookupResult
    extends java.lang.Object
    The result of a canonical type name lookup.

    For example, a lookup of java.util.HashMap.Entry may result in the ClassSymbol for java.util.HashMap, and the remaining nested type name Entry.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.common.collect.ImmutableList<Tree.Ident> remaining()
      The remaining nested type names.
      Symbol sym()
      A top-level class symbol.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • sym

        public Symbol sym()
        A top-level class symbol.
      • remaining

        public com.google.common.collect.ImmutableList<Tree.Ident> remaining()
        The remaining nested type names.