CodeQL library for Java
Search

Member predicate MethodAccessSystemGetProperty::hasCompileTimeConstantGetPropertyName

Holds if this call has a compile-time constant first argument with the value propertyName. For example: System.getProperty("user.dir").

predicate hasCompileTimeConstantGetPropertyName(string propertyName)