-
Notifications
You must be signed in to change notification settings - Fork 24
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
Conversation
src/main/scala/ai/privado/languageEngine/java/tagger/collection/CollectionTagger.scala
Show resolved
Hide resolved
src/main/scala/ai/privado/languageEngine/kotlin/tagger/collection/KotlinCollectionTagger.scala
Outdated
Show resolved
Hide resolved
...st/scala/ai/privado/languageEngine/kotlin/tagger/collection/KotlinCollectionTaggerTest.scala
Outdated
Show resolved
Hide resolved
This comment was marked as resolved.
This comment was marked as resolved.
src/main/scala/ai/privado/languageEngine/kotlin/tagger/collection/KotlinCollectionTagger.scala
Outdated
Show resolved
Hide resolved
src/main/scala/ai/privado/languageEngine/kotlin/tagger/collection/KotlinCollectionTagger.scala
Outdated
Show resolved
Hide resolved
...st/scala/ai/privado/languageEngine/kotlin/tagger/collection/KotlinCollectionTaggerTest.scala
Outdated
Show resolved
Hide resolved
...la/ai/privado/languageEngine/java/tagger/collection/MethodFullNameCollectionTaggerTest.scala
Outdated
Show resolved
Hide resolved
.../scala/ai/privado/languageEngine/java/tagger/collection/MethodFullNameCollectionTagger.scala
Outdated
Show resolved
Hide resolved
.../scala/ai/privado/languageEngine/java/tagger/collection/MethodFullNameCollectionTagger.scala
Outdated
Show resolved
Hide resolved
src/test/scala/ai/privado/languageEngine/java/AbstractTaggingSpec.scala
Outdated
Show resolved
Hide resolved
@khemrajrathore PR is ready for review. |
...la/ai/privado/languageEngine/java/tagger/collection/MethodFullNameCollectionTaggerTest.scala
Outdated
Show resolved
Hide resolved
...la/ai/privado/languageEngine/java/tagger/collection/MethodFullNameCollectionTaggerTest.scala
Outdated
Show resolved
Hide resolved
...st/scala/ai/privado/languageEngine/kotlin/tagger/collection/KotlinCollectionTaggerTest.scala
Outdated
Show resolved
Hide resolved
.../scala/ai/privado/languageEngine/java/tagger/collection/MethodFullNameCollectionTagger.scala
Outdated
Show resolved
Hide resolved
.../scala/ai/privado/languageEngine/java/tagger/collection/MethodFullNameCollectionTagger.scala
Outdated
Show resolved
Hide resolved
This comment was marked as resolved.
This comment was marked as resolved.
Thank you @khemrajrathore, I will fix the points you've already mentioned and add more comments with code examples as well. |
Test still remaining
Uses the Java collection tagger for deriving sources.
Need to investigate why.
…rces Tag not working, need to investigate
so that it can be easily reused
and fix Kotlin test
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.
fa8543d
to
ce4afd6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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.