Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Rework MethodSerializer (+ fallout)
[controller.git]
/
opendaylight
/
config
/
yang-jmx-generator-plugin
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
config
/
yangjmxgenerator
/
plugin
/
ftl
/
model
/
Method.java
diff --git
a/opendaylight/config/yang-jmx-generator-plugin/src/main/java/org/opendaylight/controller/config/yangjmxgenerator/plugin/ftl/model/Method.java
b/opendaylight/config/yang-jmx-generator-plugin/src/main/java/org/opendaylight/controller/config/yangjmxgenerator/plugin/ftl/model/Method.java
index d83a70ccee376c9ddfd24c6406e862ad2b1ce3a9..2394fc0d1dbb22e6d5fe3327cc1b016e811753b5 100644
(file)
--- a/
opendaylight/config/yang-jmx-generator-plugin/src/main/java/org/opendaylight/controller/config/yangjmxgenerator/plugin/ftl/model/Method.java
+++ b/
opendaylight/config/yang-jmx-generator-plugin/src/main/java/org/opendaylight/controller/config/yangjmxgenerator/plugin/ftl/model/Method.java
@@
-8,11
+8,13
@@
package org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model;
import java.util.List;
package org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model;
import java.util.List;
+import java.util.Optional;
+import javax.lang.model.element.Modifier;
public interface Method {
public interface Method {
-
String
getVisibility();
+
Optional<Modifier>
getVisibility();
- List<
String
> getModifiers();
+ List<
Modifier
> getModifiers();
String getReturnType();
String getReturnType();
@@
-23,4
+25,8
@@
public interface Method {
String getJavadoc();
List<Annotation> getAnnotations();
String getJavadoc();
List<Annotation> getAnnotations();
+
+ List<String> getThrowsExceptions();
+
+ Optional<String> getBody();
}
}