Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357154 - Validate that getter and setter exist for @EGLProperty
Summary: Validate that getter and setter exist for @EGLProperty
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-08 15:59 EDT by Matt Heitz CLA
Modified: 2017-02-23 14:15 EST (History)
1 user (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-09-08 15:59:22 EDT
In the program below, there should be an error on the declaration of variable a1.  When both the getMethod and setMethod fields of @EGLProperty aren't specified, their values are implicitly "get" or "set" plus the name of the variable.  We should validate that functions getA1 and setA1 exist.

If I explicitly specify the getMethod and/or setMethod, we do validate that the functions exist.


package x;

program propsSimple

	a1 int { @EGLProperty };
	
	function main()
		a1 = 2;
	end
end
Comment 1 Paul Harmon CLA 2011-10-26 10:23:22 EDT
Already done
Comment 2 Matt Heitz CLA 2011-11-01 10:55:23 EDT
Verified.