Looking up annotation parameter types from a PsiAnnotation

Given a PsiAnnotation instance, what's the way to look up the type of the annotation parameters that the arguments resolve to?

1 comment
Comment actions Permalink

I was able to answer this myself, by searching through the IDEA sources.
For whoever is interested, look at com.intellij.codeInsight.daemon.impl.analysis.AnnotationsHighlightUtil#checkNameValuePair().


Please sign in to leave a comment.