Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359409 - [Xtend2] Inferr Annotations on XtendMembers in Xtend2JvmModelInferrer
Summary: [Xtend2] Inferr Annotations on XtendMembers in Xtend2JvmModelInferrer
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: SR2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 358200
  Show dependency tree
 
Reported: 2011-09-29 08:08 EDT by Holger Schill CLA
Modified: 2017-09-19 18:10 EDT (History)
2 users (show)

See Also:
sven.efftinge: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Schill CLA 2011-09-29 08:08:27 EDT
As we would like to hightlight deprecated JvmAnnotationTargets the Xtend2JvmModelInferrer should inferr the Xannotations placed on XtendMembers.
Comment 1 Holger Schill CLA 2011-10-10 05:58:11 EDT
A small example:

@Deprecated
def testFoo(){  
	this.testFoo
}

this.testFoo ist a referenz to the def testFoo. The inferred Type for the referenz is a JVMAnnotationTarget but has no inferred annotations. For that reason bug 358200 can not be resolved.
Comment 2 Jan Koehnlein CLA 2011-10-10 06:10:52 EDT
I've just commited a change that should resolve this problem. Please retry with HEAD revision.
Comment 3 Holger Schill CLA 2011-10-10 07:16:30 EDT
Confirmed. Everything is fine now. Thanks.
Comment 4 Karsten Thoms CLA 2017-09-19 17:59:31 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 5 Karsten Thoms CLA 2017-09-19 18:10:11 EDT
Closing all bugs that were set to RESOLVED before Neon.0