Closed Bug 1445389 Opened 7 years ago Closed 7 years ago

Annotate int flags with IntDef

Categories

(GeckoView :: General, enhancement)

51 Branch
All
Android
enhancement
Not set
normal

Tracking

(firefox61 fixed)

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: esawin, Assigned: esawin)

Details

Attachments

(1 file)

IntDef annotations prevent assignment of invalid values and help with IDE auto-completion.
I think the default CLASS retention policy is what we want to enable IDE support for GV consumers.
Attachment #8958568 - Flags: review?(nchen)
Comment on attachment 8958568 [details] [diff] [review] 0001-Bug-1445389-1.0-Add-IntDef-annotations-to-int-flags..patch Jim is on PTO.
Attachment #8958568 - Flags: review?(nchen) → review?(snorp)
Comment on attachment 8958568 [details] [diff] [review] 0001-Bug-1445389-1.0-Add-IntDef-annotations-to-int-flags..patch Review of attachment 8958568 [details] [diff] [review]: ----------------------------------------------------------------- I would like to hide these in docs, but we probably need @hide for that, which requires us to use a different doclet.
Attachment #8958568 - Flags: review?(snorp) → review+
Pushed by esawin@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/8c04449f79a3 [1.0] Add IntDef annotations to int flags. r=snorp
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Product: Firefox for Android → GeckoView
Target Milestone: Firefox 61 → mozilla61
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: