Looking up annotation parameter types from a PsiAnnotation Taras Tielkes Created January 14, 2011 00:21 Given a PsiAnnotation instance, what's the way to look up the type of the annotation parameters that the arguments resolve to?
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().