tkobayas commented on code in PR #6414:
URL: 
https://github.com/apache/incubator-kie-drools/pull/6414#discussion_r2268444064


##########
drools-model/drools-model-codegen/src/main/java/org/drools/model/codegen/execmodel/generator/declaredtype/DescrTypeDefinition.java:
##########
@@ -109,11 +113,22 @@ private void processClassAnnotations() {
             }
             try {
                 
annotations.add(DescrAnnotationDefinition.fromDescr(typeResolver, ann));
-            } catch (UnkownAnnotationClassException | UnknownKeysInAnnotation 
e) {
-                // Do not do anything
+            } catch (UnkownAnnotationClassException e) {
+                // Store non-defined custom annotations as metadata
+                // class level built-in annotations are not added here. Rather 
added in TypeDeclarationUtil at the later phase

Review Comment:
   applied.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to