mirror of
https://github.com/github/codeql.git
synced 2025-12-19 10:23:15 +01:00
25 lines
681 B
Plaintext
25 lines
681 B
Plaintext
/** Definitions related to `java.util.regex`. */
|
|
|
|
import java
|
|
|
|
/** The class `java.util.regex.Pattern`. */
|
|
class TypeRegexPattern extends Class {
|
|
TypeRegexPattern() { this.hasQualifiedName("java.util.regex", "Pattern") }
|
|
}
|
|
|
|
/** The `quote` method of the `java.util.regex.Pattern` class. */
|
|
class PatternQuoteMethod extends Method {
|
|
PatternQuoteMethod() {
|
|
this.getDeclaringType() instanceof TypeRegexPattern and
|
|
this.hasName("quote")
|
|
}
|
|
}
|
|
|
|
/** The `LITERAL` field of the `java.util.regex.Pattern` class. */
|
|
class PatternLiteralField extends Field {
|
|
PatternLiteralField() {
|
|
this.getDeclaringType() instanceof TypeRegexPattern and
|
|
this.hasName("LITERAL")
|
|
}
|
|
}
|