Package com.google.turbine.binder.lookup
Class CompoundTopLevelIndex
- java.lang.Object
-
- com.google.turbine.binder.lookup.CompoundTopLevelIndex
-
- All Implemented Interfaces:
TopLevelIndex
public class CompoundTopLevelIndex extends java.lang.Object implements TopLevelIndex
ATopLevelIndexthat aggregates multiple indices into one.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable PackageScopelookupPackage(java.lang.Iterable<java.lang.String> packagename)Returns a scope to look up members of the given package.static CompoundTopLevelIndexof(TopLevelIndex... indexes)Creates aCompoundTopLevelIndex.Scopescope()Returns a scope to look up top-level qualified type names.
-
-
-
Method Detail
-
of
public static CompoundTopLevelIndex of(TopLevelIndex... indexes)
Creates aCompoundTopLevelIndex.
-
scope
public Scope scope()
Description copied from interface:TopLevelIndexReturns a scope to look up top-level qualified type names.- Specified by:
scopein interfaceTopLevelIndex
-
lookupPackage
public @Nullable PackageScope lookupPackage(java.lang.Iterable<java.lang.String> packagename)
Description copied from interface:TopLevelIndexReturns a scope to look up members of the given package.- Specified by:
lookupPackagein interfaceTopLevelIndex
-
-