Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359409

Summary: [Xtend2] Inferr Annotations on XtendMembers in Xtend2JvmModelInferrer
Product: [Modeling] TMF Reporter: Holger Schill <Holger.Schill>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jan, sven.efftinge
Version: 2.1.0Flags: sven.efftinge: indigo+
Target Milestone: SR2   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 358200    

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