fix annotation framework when policies are modified to try an create the newInstance of the class with a no-arg constructor
@@ -320,7 +320,11 @@ public abstract class BasePolicyAnnotationTransformer<U extends BaseUiPolicyRule
if (constructor != null) {
//call that constructor
+ try {
standardizationPolicy = ConstructorUtils.invokeConstructor(standardizationPolicyClass, paramValues);
+ } catch (NoSuchMethodException e) {
+ standardizationPolicy = standardizationPolicyClass.newInstance();
+ }
} else {
//if the class has no public constructor then attempt to call the static instance method
if (!hasConstructor) {
