Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364061 - [Xbase Compiler] JvmModelGenerator does not generate annotations for JvmFormalParameter
Summary: [Xbase Compiler] JvmModelGenerator does not generate annotations for JvmForma...
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-17 11:40 EST by Robert von Massow CLA
Modified: 2017-10-31 10:59 EDT (History)
3 users (show)

See Also:
sebastian.zarnekow: juno+


Attachments
adds generation of annotations for JvmFormalParamters in the JvmModelGenerator (1.23 KB, patch)
2011-11-17 11:43 EST, Robert von Massow CLA
sven.efftinge: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.