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

LE-1096 | Add method full name based collections tagger for Kotlin #969

Merged
22 commits merged into from
Mar 4, 2024

Conversation

ghost
Copy link

@ghost ghost commented Feb 20, 2024

Jira issue - https://privado-ai.atlassian.net/browse/LE-1096

Adds method full name collection tagging, derives from Java collection tagger for finding the sources.

@ghost ghost changed the title Add method full name based collections tagger for Kotlin LE-1096 | Add method full name based collections tagger for Kotlin Feb 20, 2024
@ghost

This comment was marked as resolved.

@ghost ghost removed request for pandurangpatil and HiteshMah-Jan February 20, 2024 09:17
@ghost ghost requested a review from khemrajrathore February 22, 2024 17:05
@ghost
Copy link
Author

ghost commented Feb 22, 2024

@khemrajrathore PR is ready for review.

@khemrajrathore

This comment was marked as resolved.

@ghost
Copy link
Author

ghost commented Mar 4, 2024

@sriram-privado Overall looking good, and once you push the changes for the minor comment, this can be merged. You can work on the follow up PR, where you can beautify this code and add lot of comments as the tagging is complex to understand for a new developer working on that piece

Thank you @khemrajrathore, I will fix the points you've already mentioned and add more comments with code examples as well.

Sriram Viswanathan added 21 commits March 4, 2024 11:34
Uses the Java collection tagger for deriving sources.
in cases where it is either a function invocation
or its a static endpoint reference or a companion(kotlin) reference.

TODO: the 'endpoint' is still not getting tagged in 'CollectionExporter'.
This is to be debugged.
@ghost ghost force-pushed the add_kotlin_collection_tagger branch from fa8543d to ce4afd6 Compare March 4, 2024 06:04
@ghost ghost requested review from khemrajrathore and removed request for pandurangpatil and HiteshMah-Jan March 4, 2024 06:23
Copy link
Member

@khemrajrathore khemrajrathore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ghost ghost merged commit cb1bc8b into dev Mar 4, 2024
12 checks passed
@ghost ghost deleted the add_kotlin_collection_tagger branch March 4, 2024 07:08
This pull request was closed.
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

Successfully merging this pull request may close these issues.

1 participant