mirror of
https://github.com/github/codeql.git
synced 2026-06-24 14:17:05 +02:00
27 lines
685 B
Plaintext
27 lines
685 B
Plaintext
/**
|
|
* DEPRECATED: Now modeled using data extensions instead.
|
|
*
|
|
* Provides classes and predicates for working with the JYaml framework.
|
|
*/
|
|
overlay[local?]
|
|
deprecated module;
|
|
|
|
import java
|
|
|
|
/**
|
|
* The class `org.ho.yaml.Yaml` or `org.ho.yaml.YamlConfig`.
|
|
*/
|
|
class JYamlLoader extends RefType {
|
|
JYamlLoader() { this.hasQualifiedName("org.ho.yaml", ["Yaml", "YamlConfig"]) }
|
|
}
|
|
|
|
/**
|
|
* A JYaml unsafe load method, declared on either `Yaml` or `YamlConfig`.
|
|
*/
|
|
class JYamlLoaderUnsafeLoadMethod extends Method {
|
|
JYamlLoaderUnsafeLoadMethod() {
|
|
this.getDeclaringType() instanceof JYamlLoader and
|
|
this.getName() in ["load", "loadType", "loadStream", "loadStreamOfType"]
|
|
}
|
|
}
|