@Nullable public final <T extends DomElement> DomFileElementImpl<T> getFileElement( XmlFile file, Class<T> domClass) { final DomFileDescription description = getDomFileDescription(file); if (description != null && myApplicationComponent.assignabilityCache.isAssignable( domClass, description.getRootElementClass())) { return getFileElement(file); } return null; }
@Nullable public final DomElement getIdentityScope(DomElement element) { final DomFileDescription description = DomUtil.getFileElement(element).getFileDescription(); return description.getIdentityScope(element); }
@NotNull public final DomElement getResolvingScope(GenericDomValue element) { final DomFileDescription description = DomUtil.getFileElement(element).getFileDescription(); return description.getResolveScope(element); }