<commit_before>package org.jetbrains.plugins.scala.patterns;

import com.intellij.patterns.PsiJavaPatterns;
import org.jetbrains.plugins.scala.lang.psi.api.base.ScLiteral;

public class ScalaPatterns extends PsiJavaPatterns {
    public static ScalaElementPattern.Capture<ScLiteral> scalaLiteral() {
        return new ScalaElementPattern.Capture<>(ScLiteral.class);
    }
}<commit_msg>language injection: ScalaPatterns now only accepts ScStringLiteral (not ScLiteral)<commit_after>package org.jetbrains.plugins.scala.patterns;

import com.intellij.patterns.PsiJavaPatterns;
import org.jetbrains.plugins.scala.lang.psi.api.base.literals.ScStringLiteral;

public class ScalaPatterns extends PsiJavaPatterns {
    public static ScalaElementPattern.Capture<ScStringLiteral> scalaLiteral() {
        return new ScalaElementPattern.Capture<>(ScStringLiteral.class);
    }
}
{'fraction_non_alphanumeric': 0.08986175115207373, 'fraction_numerical': 0.0, 'mean_word_length': 6.008064516129032, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6126568', 'n_tokens_mistral': 262, 'n_tokens_neox': 253, 'n_words': 44}