Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7013844 commit fe26acaCopy full SHA for fe26aca
1 file changed
java/ql/lib/semmle/code/java/frameworks/google/GsonSerializability.qll
@@ -27,8 +27,8 @@ private class ExplicitlyReadGsonDeserializableType extends GsonDeserializableTyp
27
ma.getMethod() instanceof GsonReadValueMethod and
28
// ...where `this` is used in the final argument, indicating that this type will be deserialized.
29
// TODO: find a way to get the type represented by java.lang.reflect.Type and com.google.gson.reflect.TypeToken
30
- // fromJson(String json, TypeToken<T> typeOfT)
31
- // fromJson(String json, Type typeOfT)
+ // fromJson(String json, TypeToken<T> typeOfT)
+ // fromJson(String json, Type typeOfT)
32
usesType(ma.getArgument(1).getType(), this) and
33
not this instanceof TypeClass and
34
not this instanceof TypeObject
0 commit comments