Cannot retreive annotation member value from ClsAnnotationImpl

Hi,

I'm currently developping an IntelliJ plugin to support a 3rd party Java framework.

I need to retreive some annotation members value. Everything works fine when working on class files located in an opened module, but I always receive 'null' when the file is located in a jar file.

Is it normal ? Or is there another way to retreive this value ?

Thanks, best regards,

Gauthier

1 comment

Problem solved.

I added a psiClass.getNavigationElement() before parsing annotations on instances of ClsClassImpl.

Regards,

Gauthier

0

Please sign in to leave a comment.