Package javax.annotation
Annotation Type Generated
-
@Documented @Target({ANNOTATION_TYPE,CONSTRUCTOR,FIELD,LOCAL_VARIABLE,METHOD,PACKAGE,PARAMETER,TYPE}) @Retention(SOURCE) public @interface GeneratedgRPC generated code uses the @Generated annotation which is no longer part of core JDK The JavaEE version is CDDL licensed, which would introduce a CDDL dependency This version of the @Generated annotation is copied from the Tomcat Jakarta implementation, which is an Apache-2.0 licensed implementation. https://github.com/apache/tomcat/blob/main/java/jakarta/annotation/Generated.java Discussion on gRPC issue is here: https://github.com/grpc/grpc-java/issues/6833 The @Generated annotation is also used by Google cloud platform libraries