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

Bug 364061

Summary: [Xbase Compiler] JvmModelGenerator does not generate annotations for JvmFormalParameter
Product: [Modeling] TMF Reporter: Robert von Massow <rvonmassow>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jan, sebastian.zarnekow, sven.efftinge
Version: unspecifiedFlags: sebastian.zarnekow: juno+
Target Milestone: M5   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
adds generation of annotations for JvmFormalParamters in the JvmModelGenerator sven.efftinge: iplog+

Description Robert von Massow CLA 2011-11-17 11:40:41 EST
Build Identifier: git: bc15d2145e7a19060b51ea8b1bf3627f10206c21

Currently, the JvmModelGenerator does not generate any annotation code for method parameters.

Reproducible: Always

Steps to Reproduce:
1. create JvmGenericType (e.g. Foo)
2. add JvmOperation (e.g. bar)
3. add JvmFormalParameter to the operation (e.g. Foo foo)
4. add JvmAnnotationReference to the parameter (e.g. @Deprecated)

Result:
public class Foo {
  void bar(/* Annotation should be here */ Foo foo) {
    ...
  }
}
Comment 1 Robert von Massow CLA 2011-11-17 11:43:29 EST
Created attachment 207156 [details]
adds generation of annotations for JvmFormalParamters in the JvmModelGenerator
Comment 2 Jan Koehnlein CLA 2012-01-03 10:19:48 EST
Pushed to MASTER.
Comment 3 Eclipse Webmaster CLA 2017-10-31 10:48:26 EDT
Requested via bug 522520.

-M.
Comment 4 Eclipse Webmaster CLA 2017-10-31 10:59:29 EDT
Requested via bug 522520.

-M.