tkobayas commented on code in PR #7216:
URL: https://github.com/apache/incubator-kie/pull/7216#discussion_r4374643209
##########
drools-compiler/src/main/java/org/drools/compiler/builder/impl/TypeDeclarationFactory.java:
##########
@@ -115,10 +96,10 @@ public static void processAnnotations(
AbstractClassTypeDeclarationDescr typeDes
} else if (typeDescr instanceof TypeDeclarationDescr &&
((TypeDeclarationDescr)typeDescr).isTrait()) {
type.setKind(TypeDeclaration.Kind.TRAIT);
}
+ }
- if (typeDescr.hasAnnotation(PropertyChangeSupport.class)) {
- type.setDynamic(true);
- }
+ public static void processAnnotations( AbstractClassTypeDeclarationDescr
typeDescr, TypeDeclaration type ) {
+ processAnnotations( typeDescr, type, PropertySpecificOption.ALWAYS );
}
Review Comment:
fixed
--
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]