CodeQL library for Java/Kotlin
codeql/java-all 2.0.1-dev (changelog, source)
Search

Module Gson

Provides classes for working with the Gson framework.

Import path

import semmle.code.java.frameworks.google.Gson

Imports

Android

Provides classes and predicates for working with Android components.

DataFlow

Provides classes for performing local (intra-procedural) and global (inter-procedural) data flow analyses.

Intent
java

Provides all default Java QL imports.

Predicates

intentFlowsToParcel

Holds if intentNode is an Intent used in the context (T)intentNode.getParcelableExtra(...) and parcelNode is the corresponding parameter of Parcelable.Creator<T> { public T createFromParcel(Parcel parcelNode) { }, where T is a concrete type implementing Parcelable.

Classes

Gson

The class com.google.gson.Gson.

GsonDeserializeMethod

The fromJson deserialization method.