@Nullable
    List<PatternStatement> getPatterns(@NotNull Statement statement) {
      return patternsByStatement.get(statement);
    }
@Nullable
    List<PatternStatement> getPatterns(@NotNull Statement statement)