Package com.google.devtools.ksp
Class IncrementalContext
-
- All Implemented Interfaces:
public final class IncrementalContext
-
-
Constructor Summary
Constructors Constructor Description IncrementalContext(KspOptions options, ComponentProvider componentProvider, File anyChangesWildcard)
-
Method Summary
Modifier and Type Method Description final Collection<KSFile>calcDirtyFiles(List<KSFile> ksFiles)final UnitregisterGeneratedFiles(Collection<KSFile> newFiles)final UnitupdateCachesAndOutputs(Collection<KSFile> dirtyFiles, Set<File> outputs, Map<File, Set<File>> sourceToOutputs)final UnitrecordLookup(PsiJavaFile psiFile, String fqn)final UnitrecordLookup(PsiType ref)final UnitrecordLookupWithSupertypes(KotlinType kotlinType)final UnitrecordLookupForDeclaration(KSDeclaration declaration)final UnitrecordLookupForCallableMemberDescriptor(CallableMemberDescriptor descriptor)final UnitrecordLookupForGetAllFunctions(ClassDescriptor descriptor)final UnitrecordLookupForGetAllProperties(ClassDescriptor descriptor)final UnitrecordLookupForGetAll(ClassDescriptor descriptor, Function1<PsiClass, Unit> doChild)final UnitrecordGetSealedSubclasses(KSClassDeclaration classDeclaration)final Map<String, List<String>>dumpLookupRecords()-
-
Constructor Detail
-
IncrementalContext
IncrementalContext(KspOptions options, ComponentProvider componentProvider, File anyChangesWildcard)
-
-
Method Detail
-
calcDirtyFiles
final Collection<KSFile> calcDirtyFiles(List<KSFile> ksFiles)
-
registerGeneratedFiles
final Unit registerGeneratedFiles(Collection<KSFile> newFiles)
-
updateCachesAndOutputs
final Unit updateCachesAndOutputs(Collection<KSFile> dirtyFiles, Set<File> outputs, Map<File, Set<File>> sourceToOutputs)
-
recordLookup
final Unit recordLookup(PsiJavaFile psiFile, String fqn)
-
recordLookup
final Unit recordLookup(PsiType ref)
-
recordLookupWithSupertypes
final Unit recordLookupWithSupertypes(KotlinType kotlinType)
-
recordLookupForDeclaration
final Unit recordLookupForDeclaration(KSDeclaration declaration)
-
recordLookupForCallableMemberDescriptor
final Unit recordLookupForCallableMemberDescriptor(CallableMemberDescriptor descriptor)
-
recordLookupForGetAllFunctions
final Unit recordLookupForGetAllFunctions(ClassDescriptor descriptor)
-
recordLookupForGetAllProperties
final Unit recordLookupForGetAllProperties(ClassDescriptor descriptor)
-
recordLookupForGetAll
final Unit recordLookupForGetAll(ClassDescriptor descriptor, Function1<PsiClass, Unit> doChild)
-
recordGetSealedSubclasses
final Unit recordGetSealedSubclasses(KSClassDeclaration classDeclaration)
-
dumpLookupRecords
final Map<String, List<String>> dumpLookupRecords()
-
-
-
-