From fa0184be87b59228c7003831974f1847bbf1cc36 Mon Sep 17 00:00:00 2001 From: Sam Blackshear Date: Wed, 13 Apr 2016 09:11:38 -0700 Subject: [PATCH] adding string param to PrivacySink and PrivacySource annots Reviewed By: jeremydubreil Differential Revision: D3172165 fb-gh-sync-id: 284400a fbshipit-source-id: 284400a --- infer/annotations/com/facebook/infer/annotation/PrivacySink.java | 1 + .../annotations/com/facebook/infer/annotation/PrivacySource.java | 1 + 2 files changed, 2 insertions(+) diff --git a/infer/annotations/com/facebook/infer/annotation/PrivacySink.java b/infer/annotations/com/facebook/infer/annotation/PrivacySink.java index 2be3ffcf9..7ce20f027 100644 --- a/infer/annotations/com/facebook/infer/annotation/PrivacySink.java +++ b/infer/annotations/com/facebook/infer/annotation/PrivacySink.java @@ -20,4 +20,5 @@ import java.lang.annotation.Target; ) public @interface PrivacySink { + String[] value(); } diff --git a/infer/annotations/com/facebook/infer/annotation/PrivacySource.java b/infer/annotations/com/facebook/infer/annotation/PrivacySource.java index 57b7fe507..16f15c3bc 100644 --- a/infer/annotations/com/facebook/infer/annotation/PrivacySource.java +++ b/infer/annotations/com/facebook/infer/annotation/PrivacySource.java @@ -22,4 +22,5 @@ import java.lang.annotation.Target; }) public @interface PrivacySource { + String[] value(); }