mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Add missing qldoc
This commit is contained in:
@@ -371,6 +371,9 @@ private class MapGenValueMethod extends GenMethod {
|
||||
override string getCall(string arg) { result = "Map.of(null, " + arg + ")" }
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a cast to type `t` if `t` is not `java.lang.Object`, or an empty string otherwise.
|
||||
*/
|
||||
string getConvertExprIfNotObject(RefType t) {
|
||||
if t.hasQualifiedName("java.lang", "Object")
|
||||
then result = ""
|
||||
|
||||
Reference in New Issue
Block a user