Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate how to seperate the getTypeFactory method to getTypeFactoryOfSubchecker and getTypeFactoryOfImmediateSubchecker #1109

Open
Ao-senXiong opened this issue Feb 11, 2025 · 1 comment

Comments

@Ao-senXiong
Copy link
Member

Ao-senXiong commented Feb 11, 2025

I think a comment with getTypeFactoryOfSubchecker would be nice that highlights that it only works for immediate subcheckers. Maybe open an issue that we should change getTypeFactoryOfSubchecker to look in all subcheckers and add a getTypeFactoryOfImmediateSubchecker In case that is ever useful?

Originally posted by @wmdietl in #1108 (comment)

@wmdietl
Copy link
Member

wmdietl commented Feb 11, 2025

Same applies to public <T extends SourceChecker> @Nullable T getSubchecker(Class<T> checkerClass) in SourceChecker, which also only goes through the immediate subcheckers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants