Uses of Interface
com.google.turbine.binder.env.Env
-
Packages that use Env Package Description com.google.turbine.binder com.google.turbine.binder.bytecode com.google.turbine.binder.env com.google.turbine.lower com.google.turbine.processing com.google.turbine.types -
-
Uses of Env in com.google.turbine.binder
Methods in com.google.turbine.binder that return Env Modifier and Type Method Description Env<ClassSymbol,BytecodeBoundClass>ClassPath. env()The classpath's environment.Env<ModuleSymbol,ModuleInfo>ClassPath. moduleEnv()The classpath's module environment.Methods in com.google.turbine.binder with parameters of type Env Modifier and Type Method Description static SourceTypeBoundClassDisambiguateTypeAnnotations. bind(SourceTypeBoundClass base, Env<ClassSymbol,TypeBoundClass> env)static SourceHeaderBoundClassHierarchyBinder. bind(TurbineLog.TurbineLogWithSource log, ClassSymbol origin, PackageSourceBoundClass base, Env<ClassSymbol,? extends HeaderBoundClass> env)Binds the type hierarchy (superclasses and interfaces) for a single class.static SourceModuleInfoModuleBinder. bind(PackageSourceBoundModule module, CompoundEnv<ClassSymbol,TypeBoundClass> env, Env<ModuleSymbol,ModuleInfo> moduleEnv, java.util.Optional<java.lang.String> moduleVersion, TurbineLog.TurbineLogWithSource log)static SourceTypeBoundClassTypeBinder. bind(TurbineLog.TurbineLogWithSource log, Env<ClassSymbol,HeaderBoundClass> env, ClassSymbol sym, SourceHeaderBoundClass base)CreatesSourceTypeBoundClassnodes for a compilation.static com.google.common.collect.ImmutableList<AnnoInfo>DisambiguateTypeAnnotations. groupRepeated(Env<ClassSymbol,TypeBoundClass> env, com.google.common.collect.ImmutableList<AnnoInfo> annotations)Group repeated annotations and wrap them in their container annotation.static @Nullable ClassSymbolResolve. 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.static @Nullable TypeBoundClass.FieldInfoResolve. 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.static ImportScope.ResolveFunctionResolve. resolveFunction(Env<ClassSymbol,? extends HeaderBoundClass> env, @Nullable ClassSymbol origin)Partially appliedResolve.resolve(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.Constructors in com.google.turbine.binder with parameters of type Env Constructor Description ConstBinder(Env<FieldSymbol,Const.Value> constantEnv, ClassSymbol origin, CompoundEnv<ClassSymbol,TypeBoundClass> env, SourceTypeBoundClass base, TurbineLog.TurbineLogWithSource log)ConstEvaluator(@Nullable ClassSymbol origin, @Nullable ClassSymbol owner, MemberImportIndex memberImports, SourceFile source, Scope scope, Env<FieldSymbol,Const.Value> values, CompoundEnv<ClassSymbol,TypeBoundClass> env, TurbineLog.TurbineLogWithSource log)ModuleBinder(PackageSourceBoundModule module, CompoundEnv<ClassSymbol,TypeBoundClass> env, Env<ModuleSymbol,ModuleInfo> moduleEnv, java.util.Optional<java.lang.String> moduleVersion, TurbineLog.TurbineLogWithSource log) -
Uses of Env in com.google.turbine.binder.bytecode
Constructors in com.google.turbine.binder.bytecode with parameters of type Env Constructor Description BytecodeBoundClass(ClassSymbol sym, com.google.common.base.Supplier<byte[]> bytes, Env<ClassSymbol,BytecodeBoundClass> env, @Nullable java.lang.String jarFile) -
Uses of Env in com.google.turbine.binder.env
Classes in com.google.turbine.binder.env that implement Env Modifier and Type Class Description classCompoundEnv<S extends Symbol,V>AnEnvthat chains two existing envs together.classLazyEnv<S extends Symbol,T,V extends T>An env that permits an analysis pass to access information about symbols from the current pass, recursively.classSimpleEnv<K extends Symbol,V>A simpleImmutableMap-backedEnv.Methods in com.google.turbine.binder.env with parameters of type Env Modifier and Type Method Description CompoundEnv<S,V>CompoundEnv. append(Env<S,? extends V> env)Adds an env to the chain.@Nullable VLazyEnv.Completer. complete(Env<S,T> env, S k)Provides the value for the given symbol in the current environment.static <S extends Symbol,V>
CompoundEnv<S,V>CompoundEnv. of(Env<S,? extends V> env)A chainable compound env with a single entry.Constructors in com.google.turbine.binder.env with parameters of type Env Constructor Description LazyEnv(com.google.common.collect.ImmutableMap<S,LazyEnv.Completer<S,T,V>> completers, Env<S,? extends T> base) -
Uses of Env in com.google.turbine.lower
Methods in com.google.turbine.lower with parameters of type Env Modifier and Type Method Description @Nullable java.lang.StringLowerSignature. classSignature(SourceTypeBoundClass info, Env<ClassSymbol,TypeBoundClass> env)Produces a class signature attribute for a generic class, ornullif the signature is unnecessary.static Lower.LoweredLower. lowerAll(Lower.LowerOptions options, com.google.common.collect.ImmutableMap<ClassSymbol,SourceTypeBoundClass> units, com.google.common.collect.ImmutableList<SourceModuleInfo> modules, Env<ClassSymbol,BytecodeBoundClass> classpath)Lowers all given classes to bytecode.@Nullable java.lang.StringLowerSignature. methodSignature(Env<ClassSymbol,TypeBoundClass> env, TypeBoundClass.MethodInfo method, ClassSymbol sym)Produces a method signature attribute for a generic method, ornullif the signature is unnecessary.Constructors in com.google.turbine.lower with parameters of type Env Constructor Description Lower(Env<ClassSymbol,TypeBoundClass> env) -
Uses of Env in com.google.turbine.processing
Fields in com.google.turbine.processing declared as Env Modifier and Type Field Description Env<ClassSymbol,? extends TypeBoundClass>ModelFactory. envConstructors in com.google.turbine.processing with parameters of type Env Constructor Description ModelFactory(Env<ClassSymbol,? extends TypeBoundClass> env, java.lang.ClassLoader processorLoader, TopLevelIndex tli) -
Uses of Env in com.google.turbine.types
Methods in com.google.turbine.types with parameters of type Env Modifier and Type Method Description static TypeCanonicalize. canonicalize(SourceFile source, int position, Env<ClassSymbol,TypeBoundClass> env, ClassSymbol sym, Type type)Canonicalizes the given type.static Type.ClassTyCanonicalize. canonicalizeClassTy(SourceFile source, int position, Env<ClassSymbol,TypeBoundClass> env, ClassSymbol owner, Type.ClassTy classTy)Canonicalize a qualified class type, excluding type arguments.Constructors in com.google.turbine.types with parameters of type Env Constructor Description Canonicalize(SourceFile source, int position, Env<ClassSymbol,TypeBoundClass> env)
-