Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352574 - Have @Property annotation, not @JavaProperty and @JavaScriptProperty
Summary: Have @Property annotation, not @JavaProperty and @JavaScriptProperty
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Matt Heitz CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-20 09:18 EDT by Matt Heitz CLA
Modified: 2017-02-23 14:14 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Heitz CLA 2011-07-20 09:18:59 EDT
In RBD we have two annotations, @JavaProperty and @JavaScriptProperty, which serve the same purpose and have the same fields.  The only difference, aside from the names, is a validation check that @JavaProperty can only be used in JavaObject ExternalTypes and @JavaScriptProperty can only be used in JavaScriptObject ExternalTypes.

We should only have one annotation in EDT: @Property.  It can be used on every kind of ExternalType, including NativeTypes.
Comment 1 Lisa Lasher CLA 2011-07-26 18:18:59 EDT
rolling forward from I10 to I11
Comment 2 Matt Heitz CLA 2011-08-04 12:41:33 EDT
This was done during the rewrite of the EDT types.
Comment 3 Matt Heitz CLA 2011-08-04 12:41:41 EDT
Done.