Allow for Non-Kotlin passes to be integrated into the pipeline #1805
robinmaisch
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear CPG team,
I was wondering whether you would be interested in allowing
Pass
es implemented e.g. in Java to be integrated into a CPG pipeline.Currently, the
Pass
class relies on its "primaryConstructor" (see here) to initialize a new instance. As there is no such constructor in subclasses ofPass
written in Java, those passes are effectively excluded from integration. If the instantiation would instead try to find a constructor with exactly one parameter of the correct type, this limitation may be easily removed.However, as a comment indicates, I understand you probably have tried out some alternatives in the past, but none were satisfactory, right?
Beta Was this translation helpful? Give feedback.
All reactions