Uses of Interface
org.inferred.freebuilder.processor.source.TypeUsage
Packages that use TypeUsage
-
Uses of TypeUsage in org.inferred.freebuilder.processor.source
Classes in org.inferred.freebuilder.processor.source that implement TypeUsageModifier and TypeClassDescriptionprivate static final classprivate static classprivate static final classFields in org.inferred.freebuilder.processor.source with type parameters of type TypeUsageModifier and TypeFieldDescriptionprivate final com.google.common.collect.Multimap<QualifiedName, TypeUsage> ImportManager.importsTypes to import, and for which usages.private final Map<TypeUsage, QualifiedName> ImportManager.resolutionsWhich type, imported or in scope, to use to shorten each type usage.ImportManager.todoType usages to process.CompilationUnitBuilder.usagesMethods in org.inferred.freebuilder.processor.source that return TypeUsageModifier and TypeMethodDescriptionTypeUsage_Builder.build()Returns a newly-createdTypeUsagebased on the contents of thisBuilder.TypeUsage_Builder.Partial.PartialBuilder.build()TypeUsage_Builder.buildPartial()Returns a newly-created partialTypeUsagefor use in unit tests.Methods in org.inferred.freebuilder.processor.source with parameters of type TypeUsageModifier and TypeMethodDescriptionprivate booleanImportManager.addImport(QualifiedName name, TypeUsage usage) private voidImportManager.appendUsage(StringBuilder result, TypeUsage usage) static TypeUsage.BuilderCreates a new builder usingvalueas a template.Copies values fromvalue, skipping empty optionals.private voidImportManager.resolveUsage(TypeUsage usage) private Function<QualifiedName, ScopeHandler.ScopeState> ImportManager.visibilityIn(ScopeHandler scopeHandler, TypeUsage usage) Method parameters in org.inferred.freebuilder.processor.source with type arguments of type TypeUsageModifier and TypeMethodDescriptionprivate static StringCompilationUnitBuilder.formatSnippet(StringBuilder source, List<TypeUsage> usages) (package private) static StringImportManager.shortenReferences(CharSequence codeWithQualifiedNames, String pkg, int importsIndex, List<TypeUsage> typeUsages, ScopeHandler scopeHandler) Constructor parameters in org.inferred.freebuilder.processor.source with type arguments of type TypeUsageModifierConstructorDescriptionprivateImportManager(List<TypeUsage> usages, ScopeHandler scopeHandler, String pkg)