Replies: 1 comment
-
@iloveeclipse maybe you can tell more about this or ping somebody who knows more? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently PDE uses a OSGiAnnotationsCompilationParticipant(the same technique is used in DSAnnotationCompilationParticipant) to find out if an annotation is present in the compiled class and then analyze it to possibly generate some code.
This has add a noticeable performance overhead most likely because of the AST creation, and even if we could optimize the current processing probably here (it is currently rather straight forward than optimized for performance), I wonder if there is maybe a better way.
What bugs me a bit here is that obviously JDT already knows that there ARE annotations present, but it does not pass the data in a way I can access e.g. what annotations are present (what would make it much more easier to decide if there is actually something to do, but probably this is because it is actually easy and performant to gather this data anyway?
Beta Was this translation helpful? Give feedback.
All reactions