boolean (final @NotNull String ref, final @NotNull Editor editor) { return EP_NAME.computeSafeIfAny(ep -> { if (ref.startsWith(ep.prefix)) { String refSuffix = ref.substring(ep.prefix.length()); return ep.getInstance().handleLink(refSuffix.replaceAll("<br/>", "\n"), editor); } return null; }) == Boolean.TRUE; }