boolean (@NotNull LanguageFileType fileType, @Nullable Language dialect, @Nullable PatternContext context) { return (myFileType == fileType) && (dialect == null || myDialect == dialect) && (context == null || myContext == context); }