Fix sonar issue cli codegen

Modify CodeGeneratorCliEditor to use param object for sonar issue fix
Add javadoc for the method addEventDecl Method. Modify meth
declaration. Run formatter

Issue-ID: POLICY-1251
Change-Id: I4f95e868c047f54dff9cf991e8f4f60e8954c788
Signed-off-by: kris.jinka <kris.jinka@samsung.com>
diff --git a/.gitignore b/.gitignore
index 2cb52f0..0ed1e18 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@
 *.iml
 *.ipr
 *.iws
+.idea