Repository navigation
Check the annotations of Facade by KSP - #121
Open
reactivestudio wants to merge 1 commit into
Open
reactivestudio wants to merge 1 commit into
reactivestudio wants to merge 1 commit into
Conversation
reactivestudio
force-pushed
the
facade-ksp-processor
branch
2 times, most recently
from
November 16, 2026 12:07
d1acc3a to
6b409e1
Compare
reactivestudio
force-pushed
the
facade-ksp-processor
branch
3 times, most recently
from
November 16, 2026 18:48
1d2dea4 to
000f2b2
Compare
reactivestudio
force-pushed
the
facade-ksp-processor
branch
from
November 16, 2026 19:07
000f2b2 to
6befcf7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Новый подмодуль
semantic-pattern-ksp: процессор KSP останавливает сборку модуля, если нарушено правило аннотаций Facade. Ошибка указывает на строку с аннотацией. Первая из четырёх частей процессора, стоит поверх #128 — модуля общих помощников KSP.@Facade:@Facade.Subsystem.typealias. Повтор@Repeatable-метки — одна подсистема.@Facadeпроцессор пропускает: ошибку покажет компилятор.FacadeSymbolProcessorобходит классы и передаёт их checker'ам. Один checker — одно правило, имя называет правило, которое он обеспечивает:FacadeOnClassChecker—@Facadeстоит на классе;FacadeSubsystemsNotEmptyChecker— фасад называет хотя бы одну подсистему;SubsystemAnnotationPresenceChecker— каждая подсистема помечена@Facade.Subsystem;FacadeOutsideSubsystemsChecker— фасад не входит ни в одну подсистему;SingleSubsystemMembershipChecker— класс входит не больше чем в одну подсистему.@Facade— вFacadeAnnotation, принадлежность класса к подсистеме — вSubsystemMembership. Общие расширения KSP берутся изsemantic-ksp-helper.META-INF/services. Зависимость отsymbol-processing-api—compileOnly, как у Moshi.Следующие части: члены фасада (#122), метки супертипов (#123), правила клиентов (#124).