PathReference (@Nullable String s, ConvertContext context) { final XmlElement element = context.getReferenceXmlElement(); final Module module = context.getModule(); if (s == null || element == null || module == null) { return null; } return PathReferenceManager.getInstance().getCustomPathReference(s, module, element, ourProvider); }