+ .setReturnType(primitiveVoidType());
+
+ annotateDeprecatedIfNecessary(notification, notificationMethod);
+ if (notification.getStatus().equals(Status.OBSOLETE)) {
+ notificationMethod.setDefault(true);
+ }
+ addComment(notificationMethod, notification);