public VirtualFilePattern withName(final String name) { return withName(PlatformPatterns.string().equalTo(name)); }
public static PsiElementPattern.Capture<PomTargetPsiElement> domTargetElement( final ElementPattern<? extends DomElement> pattern) { return PlatformPatterns.pomElement(withDomTarget(pattern)); }