Package com.google.turbine.binder.lookup
Interface CanonicalSymbolResolver
-
- All Superinterfaces:
ImportScope.ResolveFunction
public interface CanonicalSymbolResolver extends ImportScope.ResolveFunction
Canonical type resolution. Breaks a circular dependency between binding and import handling.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable ClassSymbolresolveOne(ClassSymbol sym, Tree.Ident bit)Resolves a single member type of the given symbol by canonical name.booleanvisible(ClassSymbol sym)Returns true if the given symbol is visible from the current package.
-
-
-
Method Detail
-
resolveOne
@Nullable ClassSymbol resolveOne(ClassSymbol sym, Tree.Ident bit)
Resolves a single member type of the given symbol by canonical name.- Specified by:
resolveOnein interfaceImportScope.ResolveFunction
-
visible
boolean visible(ClassSymbol sym)
Returns true if the given symbol is visible from the current package.
-
-