void (@NotNull ASTNode element, int startOffset, int endOffset, boolean useFqInJavadoc, boolean useFqInCode) { List<ASTNode> array = new ArrayList<>(); addReferencesInRange(array, element, startOffset, endOffset); for (ASTNode ref : array) { if (ref.getPsi().isValid()) { process(ref, true, true, useFqInJavadoc, useFqInCode); } } }