Commit 552c7927 authored by Dmitry Batkovich's avatar Dmitry Batkovich
Browse files

more logging

parent fb07cbcb
Branches unavailable Tags unavailable
No related merge requests found
Showing with 2 additions and 3 deletions
+2 -3
......@@ -150,10 +150,9 @@ public class RefFieldImpl extends RefJavaElementImpl implements RefField {
return ReadAction.compute(() -> {
UField uField = getUastElement();
LOG.info("uast field for RefField = " + uField);
LOG.info("psi for RefField = " + getPsiElement());
if (uField == null) return null;
PsiModifierListOwner psi = (PsiModifierListOwner)uField.getJavaPsi();
LOG.info("java field for RefField = " + psi);
return PsiFormatUtil.getExternalName(psi);
return PsiFormatUtil.getExternalName((PsiModifierListOwner)uField.getJavaPsi());
});
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment