Summary: | [quick assist] Combine selected annotations into a composed annotation | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Noopur Gupta <noopur_gupta> |
Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | daniel_megert, kaiwinter, pyvesdev, sam, theit |
Version: | 4.13 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Noopur Gupta
2019-08-26 03:31:58 EDT
Thanks for creating the ticket! > We need to check the configuration of the selected annotation types. Agreed. The @Retention should probably default to RetentionPolicy.RUNTIME. And the @Target should likely be created by a "plausible" combination of the targets for the meta-annotations. For example, if none of the meta-annotations has a target of TYPE, then the new composed annotation also should not have a target of TYPE. > We can also open the "New Annotation Type" dialog with the quick assist if it is required for configuration from the user. That also sounds viable. For the new composed annotation, it would also be nice if @Documented and @Inherited are taken into consideration. |