List<Converter> (@NotNull GenericDomValue domElement) { final String raw = domElement.getRawText(); if (raw != null) { if (raw.contains("${") || raw.contains(File.separator) || (File.separatorChar != '/' && raw.contains("/"))) { return Collections.singletonList(new AntPathConverter()); } } return Collections.emptyList(); } @Override public Converter getConverter(@NotNull GenericDomValue domElement) { final List<Converter> converterList = getConverters(domElement); return converterList.isEmpty()? null : converterList.get(0); } }