- } else if (method instanceof MethodDefinition) {
- MethodDefinition definition = (MethodDefinition) method;
- if (!definition.getThrowsExceptions().isEmpty()) {
- build.append(" throws ");
- }
- for (String ex : definition.getThrowsExceptions()) {
- build.append(ex).append(" ");
- }