Use of javax.annotation is really hurting our migration to Java 11,
just do not generate it all over the place.
JIRA: MDSAL-372
Change-Id: I81aa4d8b62b12ea0ea503b5d002e744a31855aea
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
final MethodSignatureBuilder method = interfaceBuilder.addMethod(rpcMethodName);
// Do not refer to annotation class, as it may not be available at runtime
- // FIXME: migrate this to some other annotation type
- method.addAnnotation("javax.annotation", "CheckReturnValue");
+ // FIXME: migrate this to some other annotation type and re-enable
+ //
+ // method.addAnnotation("javax.annotation", "CheckReturnValue");
addComment(method, rpc);
method.addParameter(
createRpcContainer(context, rpcName, rpc, verifyNotNull(rpc.getInput()), RPC_INPUT), "input");