public PatternContext getPatternContext() {
    final Language dialect = getDialect();
    return (dialect == null) ? null : StructuralSearchUtil.findPatternContextByID(myPatternContextId, dialect);
  }
public PatternContext getPatternContext()