Package com.google.turbine.binder
Class Resolve
- java.lang.Object
-
- com.google.turbine.binder.Resolve
-
public final class Resolve extends java.lang.ObjectQualified name resolution.
-
-
Method Summary
-
-
-
Method Detail
-
resolve
public static @Nullable ClassSymbol resolve(Env<ClassSymbol,? extends HeaderBoundClass> env, @Nullable ClassSymbol origin, ClassSymbol sym, Tree.Ident simpleName)
Performs JLS 6.5.5.2 qualified type name resolution of a type with the given simple name, qualified by the given symbol. The search considers members that are inherited from superclasses or interfaces.
-
resolveFunction
public static ImportScope.ResolveFunction resolveFunction(Env<ClassSymbol,? extends HeaderBoundClass> env, @Nullable ClassSymbol origin)
Partially appliedresolve(com.google.turbine.binder.env.Env<com.google.turbine.binder.sym.ClassSymbol, ? extends com.google.turbine.binder.bound.HeaderBoundClass>, com.google.turbine.binder.sym.ClassSymbol, com.google.turbine.binder.sym.ClassSymbol, com.google.turbine.tree.Tree.Ident), returning aImportScope.ResolveFunctionfor the givenenvandoriginsymbol.
-
resolveField
public static @Nullable TypeBoundClass.FieldInfo resolveField(Env<ClassSymbol,TypeBoundClass> env, @Nullable ClassSymbol origin, ClassSymbol sym, Tree.Ident name)
Performs qualified type name resolution of an instance variable with the given simple name, qualified by the given symbol. The search considers members that are inherited from superclasses or interfaces.
-
-