Uses of Class
com.google.turbine.binder.sym.ClassSymbol
-
-
Uses of ClassSymbol in com.google.turbine.binder
Methods in com.google.turbine.binder that return ClassSymbol Modifier and Type Method Description 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.Methods in com.google.turbine.binder that return types with arguments of type ClassSymbol Modifier and Type Method Description CompoundEnv<ClassSymbol,BytecodeBoundClass>Binder.BindingResult. classPathEnv()The classpath.Env<ClassSymbol,BytecodeBoundClass>ClassPath. env()The classpath's environment.com.google.common.collect.ImmutableMap<ClassSymbol,SourceTypeBoundClass>Binder.BindingResult. units()Bound nodes for sources in the compilation.Method parameters in com.google.turbine.binder with type arguments of type ClassSymbol 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 ClassSymbol 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)Constructor parameters in com.google.turbine.binder with type arguments of type ClassSymbol Constructor Description BindingResult(com.google.common.collect.ImmutableMap<ClassSymbol,SourceTypeBoundClass> units, com.google.common.collect.ImmutableList<SourceModuleInfo> modules, CompoundEnv<ClassSymbol,BytecodeBoundClass> classPathEnv, TopLevelIndex tli, com.google.common.collect.ImmutableMap<java.lang.String,SourceFile> generatedSources, com.google.common.collect.ImmutableMap<java.lang.String,byte[]> generatedClasses, Binder.Statistics statistics)BindingResult(com.google.common.collect.ImmutableMap<ClassSymbol,SourceTypeBoundClass> units, com.google.common.collect.ImmutableList<SourceModuleInfo> modules, CompoundEnv<ClassSymbol,BytecodeBoundClass> classPathEnv, TopLevelIndex tli, com.google.common.collect.ImmutableMap<java.lang.String,SourceFile> generatedSources, com.google.common.collect.ImmutableMap<java.lang.String,byte[]> generatedClasses, Binder.Statistics statistics)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 ClassSymbol in com.google.turbine.binder.bound
Methods in com.google.turbine.binder.bound that return ClassSymbol Modifier and Type Method Description @Nullable ClassSymbolBoundClass. owner()The enclosing declaration for member types, ornullfor top-level declarations.@Nullable ClassSymbolPackageSourceBoundClass. owner()@Nullable ClassSymbolSourceBoundClass. owner()@Nullable ClassSymbolSourceHeaderBoundClass. owner()@Nullable ClassSymbolSourceTypeBoundClass. owner()@Nullable ClassSymbolAnnotationMetadata. repeatable()The container annotation for@Repeatedannotations.@Nullable ClassSymbolHeaderBoundClass. superclass()The superclass of the declaration.@Nullable ClassSymbolSourceHeaderBoundClass. superclass()@Nullable ClassSymbolSourceTypeBoundClass. superclass()ClassSymbolModuleInfo.ProvideInfo. sym()ClassSymbolModuleInfo.UseInfo. sym()ClassSymbolSourceBoundClass. sym()ClassSymbolTurbineAnnotationValue. sym()The annotation declaration.Methods in com.google.turbine.binder.bound that return types with arguments of type ClassSymbol Modifier and Type Method Description com.google.common.collect.ImmutableMap<java.lang.String,ClassSymbol>BoundClass. children()Member type declarations, by simple name.com.google.common.collect.ImmutableMap<java.lang.String,ClassSymbol>PackageSourceBoundClass. children()com.google.common.collect.ImmutableMap<java.lang.String,ClassSymbol>SourceBoundClass. children()com.google.common.collect.ImmutableMap<java.lang.String,ClassSymbol>SourceHeaderBoundClass. children()com.google.common.collect.ImmutableMap<java.lang.String,ClassSymbol>SourceTypeBoundClass. children()com.google.common.collect.ImmutableList<ClassSymbol>ModuleInfo.ProvideInfo. impls()com.google.common.collect.ImmutableList<ClassSymbol>HeaderBoundClass. interfaces()The interfaces of the declaration.com.google.common.collect.ImmutableList<ClassSymbol>SourceHeaderBoundClass. interfaces()com.google.common.collect.ImmutableList<ClassSymbol>SourceTypeBoundClass. interfaces()com.google.common.collect.ImmutableList<ClassSymbol>SourceTypeBoundClass. permits()com.google.common.collect.ImmutableList<ClassSymbol>TypeBoundClass. permits()The permitted direct subclasses.Constructors in com.google.turbine.binder.bound with parameters of type ClassSymbol Constructor Description AnnotationMetadata(@Nullable java.lang.annotation.RetentionPolicy retention, @Nullable com.google.common.collect.ImmutableSet<TurbineElementType> annotationTarget, @Nullable ClassSymbol repeatable)ProvideInfo(ClassSymbol sym, com.google.common.collect.ImmutableList<ClassSymbol> impls)SourceBoundClass(ClassSymbol sym, @Nullable ClassSymbol owner, com.google.common.collect.ImmutableMap<java.lang.String,ClassSymbol> children, int access, Tree.TyDecl decl)SourceHeaderBoundClass(PackageSourceBoundClass base, @Nullable ClassSymbol superclass, com.google.common.collect.ImmutableList<ClassSymbol> interfaces, com.google.common.collect.ImmutableMap<java.lang.String,TyVarSymbol> typeParameters)SourceTypeBoundClass(com.google.common.collect.ImmutableList<Type> interfaceTypes, com.google.common.collect.ImmutableList<ClassSymbol> permits, @Nullable Type superClassType, com.google.common.collect.ImmutableMap<TyVarSymbol,TypeBoundClass.TyVarInfo> typeParameterTypes, int access, com.google.common.collect.ImmutableList<TypeBoundClass.RecordComponentInfo> components, com.google.common.collect.ImmutableList<TypeBoundClass.MethodInfo> methods, com.google.common.collect.ImmutableList<TypeBoundClass.FieldInfo> fields, @Nullable ClassSymbol owner, TurbineTyKind kind, com.google.common.collect.ImmutableMap<java.lang.String,ClassSymbol> children, com.google.common.collect.ImmutableMap<java.lang.String,TyVarSymbol> typeParameters, CompoundScope enclosingScope, CompoundScope scope, MemberImportIndex memberImports, @Nullable AnnotationMetadata annotationMetadata, com.google.common.collect.ImmutableList<AnnoInfo> annotations, SourceFile source, Tree.TyDecl decl)UseInfo(ClassSymbol sym)Constructor parameters in com.google.turbine.binder.bound with type arguments of type ClassSymbol Constructor Description ProvideInfo(ClassSymbol sym, com.google.common.collect.ImmutableList<ClassSymbol> impls)SourceBoundClass(ClassSymbol sym, @Nullable ClassSymbol owner, com.google.common.collect.ImmutableMap<java.lang.String,ClassSymbol> children, int access, Tree.TyDecl decl)SourceHeaderBoundClass(PackageSourceBoundClass base, @Nullable ClassSymbol superclass, com.google.common.collect.ImmutableList<ClassSymbol> interfaces, com.google.common.collect.ImmutableMap<java.lang.String,TyVarSymbol> typeParameters) -
Uses of ClassSymbol in com.google.turbine.binder.bytecode
Methods in com.google.turbine.binder.bytecode that return ClassSymbol Modifier and Type Method Description @Nullable ClassSymbolBytecodeBoundClass. owner()@Nullable ClassSymbolBytecodeBoundClass. superclass()Methods in com.google.turbine.binder.bytecode that return types with arguments of type ClassSymbol Modifier and Type Method Description com.google.common.collect.ImmutableMap<java.lang.String,ClassSymbol>BytecodeBoundClass. children()com.google.common.collect.ImmutableList<ClassSymbol>BytecodeBoundClass. interfaces()com.google.common.collect.ImmutableList<ClassSymbol>BytecodeBoundClass. permits()Constructors in com.google.turbine.binder.bytecode with parameters of type ClassSymbol Constructor Description BytecodeBoundClass(ClassSymbol sym, com.google.common.base.Supplier<byte[]> bytes, Env<ClassSymbol,BytecodeBoundClass> env, @Nullable java.lang.String jarFile)Constructor parameters in com.google.turbine.binder.bytecode with type arguments of type ClassSymbol Constructor Description BytecodeBoundClass(ClassSymbol sym, com.google.common.base.Supplier<byte[]> bytes, Env<ClassSymbol,BytecodeBoundClass> env, @Nullable java.lang.String jarFile) -
Uses of ClassSymbol in com.google.turbine.binder.lookup
Methods in com.google.turbine.binder.lookup that return ClassSymbol Modifier and Type Method Description @Nullable ClassSymbolCanonicalSymbolResolver. resolveOne(ClassSymbol sym, Tree.Ident bit)Resolves a single member type of the given symbol by canonical name.@Nullable ClassSymbolImportScope.ResolveFunction. resolveOne(ClassSymbol base, Tree.Ident name)@Nullable ClassSymbolMemberImportIndex. singleMemberImport(java.lang.String simpleName)Resolves the owner of a single-member static import of the given simple name.Methods in com.google.turbine.binder.lookup that return types with arguments of type ClassSymbol Modifier and Type Method Description java.lang.Iterable<ClassSymbol>PackageScope. classes()Returns the top-level classes enclosed by this package.java.util.Iterator<ClassSymbol>MemberImportIndex. onDemandImports()Returns an iterator over all classes whose members are on-demand imported into the current compilation unit.Methods in com.google.turbine.binder.lookup with parameters of type ClassSymbol Modifier and Type Method Description voidSimpleTopLevelIndex.Builder. insert(ClassSymbol sym)Inserts aClassSymbolinto the index, creating any needed packages.@Nullable ClassSymbolCanonicalSymbolResolver. resolveOne(ClassSymbol sym, Tree.Ident bit)Resolves a single member type of the given symbol by canonical name.@Nullable ClassSymbolImportScope.ResolveFunction. resolveOne(ClassSymbol base, Tree.Ident name)booleanCanonicalSymbolResolver. visible(ClassSymbol sym)Returns true if the given symbol is visible from the current package.Method parameters in com.google.turbine.binder.lookup with type arguments of type ClassSymbol Modifier and Type Method Description static TopLevelIndexSimpleTopLevelIndex. of(java.lang.Iterable<ClassSymbol> syms)Creates an index over the given symbols. -
Uses of ClassSymbol in com.google.turbine.binder.sym
Fields in com.google.turbine.binder.sym declared as ClassSymbol Modifier and Type Field Description static ClassSymbolClassSymbol. ANNOTATIONstatic ClassSymbolClassSymbol. BOOLEANstatic ClassSymbolClassSymbol. BYTEstatic ClassSymbolClassSymbol. CHARACTERstatic ClassSymbolClassSymbol. CLONEABLEstatic ClassSymbolClassSymbol. DEPRECATEDstatic ClassSymbolClassSymbol. DOUBLEstatic ClassSymbolClassSymbol. ENUMstatic ClassSymbolClassSymbol. ERRORstatic ClassSymbolClassSymbol. FLOATstatic ClassSymbolClassSymbol. INHERITEDstatic ClassSymbolClassSymbol. INTEGERstatic ClassSymbolClassSymbol. LONGstatic ClassSymbolClassSymbol. OBJECTstatic ClassSymbolClassSymbol. PROFILE_ANNOTATIONstatic ClassSymbolClassSymbol. PROPRIETARY_ANNOTATIONstatic ClassSymbolClassSymbol. RECORDstatic ClassSymbolClassSymbol. SERIALIZABLEstatic ClassSymbolClassSymbol. SHORTstatic ClassSymbolClassSymbol. STRINGMethods in com.google.turbine.binder.sym that return ClassSymbol Modifier and Type Method Description ClassSymbolFieldSymbol. owner()The enclosing class.ClassSymbolMethodSymbol. owner()The enclosing class.ClassSymbolRecordComponentSymbol. owner()The enclosing class.Constructors in com.google.turbine.binder.sym with parameters of type ClassSymbol Constructor Description FieldSymbol(ClassSymbol owner, java.lang.String name)MethodSymbol(int idx, ClassSymbol owner, java.lang.String name)RecordComponentSymbol(ClassSymbol owner, java.lang.String name) -
Uses of ClassSymbol in com.google.turbine.lower
Methods in com.google.turbine.lower that return types with arguments of type ClassSymbol Modifier and Type Method Description abstract com.google.common.collect.ImmutableSet<ClassSymbol>Lower.Lowered. symbols()Returns the set of all referenced symbols in the compilation.Methods in com.google.turbine.lower with parameters of type ClassSymbol Modifier and Type Method Description java.lang.StringLowerSignature. descriptor(ClassSymbol sym)@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.Method parameters in com.google.turbine.lower with type arguments of type ClassSymbol 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.Lowered. create(com.google.common.collect.ImmutableMap<java.lang.String,byte[]> bytes, com.google.common.collect.ImmutableSet<ClassSymbol> symbols)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.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.Constructor parameters in com.google.turbine.lower with type arguments of type ClassSymbol Constructor Description Lower(Env<ClassSymbol,TypeBoundClass> env) -
Uses of ClassSymbol in com.google.turbine.processing
Fields in com.google.turbine.processing with type parameters of type ClassSymbol Modifier and Type Field Description Env<ClassSymbol,? extends TypeBoundClass>ModelFactory. envMethods in com.google.turbine.processing that return ClassSymbol Modifier and Type Method Description ClassSymbolModelFactory. inferSymbol(java.lang.CharSequence name)Methods in com.google.turbine.processing that return types with arguments of type ClassSymbol Modifier and Type Method Description java.lang.Iterable<ClassSymbol>ClassHierarchy. transitiveSupertypes(ClassSymbol s)Returns all classes in the transitive supertype hierarchy of the given class, including the class itself.Methods in com.google.turbine.processing with parameters of type ClassSymbol Modifier and Type Method Description java.lang.Iterable<ClassSymbol>ClassHierarchy. transitiveSupertypes(ClassSymbol s)Returns all classes in the transitive supertype hierarchy of the given class, including the class itself.com.google.turbine.processing.TurbineElement.TurbineTypeElementModelFactory. typeElement(ClassSymbol symbol)Method parameters in com.google.turbine.processing with type arguments of type ClassSymbol Modifier and Type Method Description voidClassHierarchy. round(CompoundEnv<ClassSymbol,TypeBoundClass> env)voidModelFactory. round(CompoundEnv<ClassSymbol,TypeBoundClass> env, TopLevelIndex tli)Constructor parameters in com.google.turbine.processing with type arguments of type ClassSymbol Constructor Description ModelFactory(Env<ClassSymbol,? extends TypeBoundClass> env, java.lang.ClassLoader processorLoader, TopLevelIndex tli)TurbineRoundEnvironment(ModelFactory factory, com.google.common.collect.ImmutableSet<ClassSymbol> syms, boolean processingOver, boolean errorRaised, com.google.common.collect.ImmutableSetMultimap<ClassSymbol,Symbol> allAnnotations)TurbineRoundEnvironment(ModelFactory factory, com.google.common.collect.ImmutableSet<ClassSymbol> syms, boolean processingOver, boolean errorRaised, com.google.common.collect.ImmutableSetMultimap<ClassSymbol,Symbol> allAnnotations) -
Uses of ClassSymbol in com.google.turbine.type
Methods in com.google.turbine.type that return ClassSymbol Modifier and Type Method Description ClassSymbolAnnoInfo. sym()The annotation's declaration.abstract ClassSymbolType.ClassTy.SimpleClassTy. sym()The class symbol of the element.ClassSymbolType.ClassTy. sym()The class symbol.Methods in com.google.turbine.type with parameters of type ClassSymbol Modifier and Type Method Description static Type.ClassTyType.ClassTy. asNonParametricClassTy(ClassSymbol i)Returns aType.ClassTywith no type arguments for the givenClassSymbol.static Type.ClassTy.SimpleClassTyType.ClassTy.SimpleClassTy. create(ClassSymbol sym, com.google.common.collect.ImmutableList<Type> targs, com.google.common.collect.ImmutableList<AnnoInfo> annos)Constructors in com.google.turbine.type with parameters of type ClassSymbol Constructor Description AnnoInfo(SourceFile source, ClassSymbol sym, Tree.Anno tree, com.google.common.collect.ImmutableMap<java.lang.String,Const> values) -
Uses of ClassSymbol in com.google.turbine.types
Methods in com.google.turbine.types with parameters of type ClassSymbol 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.Method parameters in com.google.turbine.types with type arguments of type ClassSymbol 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.Constructor parameters in com.google.turbine.types with type arguments of type ClassSymbol Constructor Description Canonicalize(SourceFile source, int position, Env<ClassSymbol,TypeBoundClass> env)
-