-
Sub-task
-
Resolution: Done
-
Major
-
2.14.0.Final
-
None
It would be useful to have a command to add a new CDI injection point to an existing bean. A command such as :
cdi-add-injection-point --named logger --type org.apache.logging.log4j.Logger
Would add to an existing class the following code :
@Inject
private Logger logger;
A qualifier could be added with:
cdi-add-injection-point --named logger --type org.apache.logging.log4j.Logger --qualifiers Debug Trace
Would add to an existing class the following code :
@Inject @Debug @Trace
private Logger logger;