boolean (@NotNull PsiSymbolReferenceHints hints) { if (!hints.getReferenceClass().isAssignableFrom(JavaFormatArgumentSymbolReference.class)) return false; Class<? extends Symbol> targetClass = hints.getTargetClass(); if (targetClass != null && !targetClass.isAssignableFrom(JavaFormatArgumentSymbol.class)) return false; Symbol target = hints.getTarget(); return target == null || target instanceof JavaFormatArgumentSymbol; }