PropertyData (@NotNull AntDomProject project, @NotNull String propertyName, DomElement contextElement) { final PropertyResolver resolver = new PropertyResolver(propertyName, contextElement); resolver.execute(project, project.getDefaultTarget().getRawText()); if (resolver.getContextElement() instanceof PropertiesProvider provider) { // special case - when context element is a property provider itself resolver.propertyProviderFound(provider); } return resolver.getResult(); }