if i unterstood the References and Resolve chapter in the SDK guide correctly, the usual procedure for implementing the PsiNameIdentifierOwner interface is to implement it for the PsiNode corresponding to a declaration statement, for instance the PsiNode which represents the C declaration "int i;".
But what is the right thing to do if we have statements which declare multiple variables at once, like "int i,j,k;"?
In my PSI tree, this is represented by a single PsiElement node which contains an identifier list.
Or, as opposed to what the SDK guide says, do you rather have to implement it for the child nodes and not for the declaration statement?
I am a bit puzzled here.