Added support for annotations in generated APIs.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / binding-model-api / src / main / java / org / opendaylight / controller / sal / binding / model / api / MethodSignature.java
index 603ffdb652ed49c5f698e7e5e6d09de68edd909b..dda1f01291c17ab5bb5e4572f09c25f6ffaa107c 100644 (file)
@@ -1,31 +1,33 @@
-/*\r
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-package org.opendaylight.controller.sal.binding.model.api;\r
-\r
-import java.util.List;\r
-\r
-public interface MethodSignature {\r
-\r
-    public String getName();\r
-\r
-    public String getComment();\r
-\r
-    public Type getDefiningType();\r
-\r
-    public Type getReturnType();\r
-\r
-    public List<Parameter> getParameters();\r
-\r
-    public AccessModifier getAccessModifier();\r
-\r
-    interface Parameter {\r
-        public String getName();\r
-\r
-        public Type getType();\r
-    }\r
-}\r
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.controller.sal.binding.model.api;
+
+import java.util.List;
+
+public interface MethodSignature {
+    
+    public List<AnnotationType> getAnnotations();
+    
+    public String getName();
+
+    public String getComment();
+
+    public Type getDefiningType();
+
+    public Type getReturnType();
+
+    public List<Parameter> getParameters();
+
+    public AccessModifier getAccessModifier();
+
+    interface Parameter {
+        public String getName();
+
+        public Type getType();
+    }
+}