I've got the following in a xml file which defines a bean :
And in a java class i ask for an instance of this bean :
I've injected references so i have FindUsages and RenameRefactoring but FindUsages doesn't find the usage in the java file and rename refactoring doesn't rename the usage in java file.
If i understand all this things correctly i don't have rename refactoring in the java class because PsiLiteralExpression doesn't implement PsiNamedElement. Is there another way to allow this refactoring ?
Why FindUsages doesn't find usages in java classes ?