Skip to content

Commit 83c6406

Browse files
authored
Update javadoc
1 parent 3c96e62 commit 83c6406

File tree

1 file changed

+2
-1
lines changed
  • java/ql/lib/semmle/code/java/frameworks/google

1 file changed

+2
-1
lines changed

java/ql/lib/semmle/code/java/frameworks/google/Gson.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ class GsonDeserializeMethod extends Method {
2222

2323
/**
2424
* Holds if `intentNode` is an `Intent` used in the context `(T)intentNode.getParcelableExtra(...)` and
25-
* `parcelNode` is the corresponding parameter of `Parcelable.Creator<T> { public T createFromParcel(Parcel parcelNode) { }`.
25+
* `parcelNode` is the corresponding parameter of `Parcelable.Creator<T> { public T createFromParcel(Parcel parcelNode) { }`,
26+
* where `T` is a concrete type implementing `Parcelable`.
2627
*/
2728
predicate intentFlowsToParcel(DataFlow::Node intentNode, DataFlow::Node parcelNode) {
2829
exists(MethodAccess getParcelableExtraCall, CreateFromParcelMethod cfpm, Type createdType |

0 commit comments

Comments
 (0)