Class IfConditionGenerator


  • public class IfConditionGenerator
    extends Object
    Utility that makes it easy to generate If conditions.
    • Constructor Detail

    • Method Detail

      • generateIfConditions

        public If<?,​?>[] generateIfConditions​(Class<? extends If<?,​?>>[] ifClasses,
                                                    Field field)
        Clever enough to recognize that an empty set of conditions means Always.
      • createIf

        public If<?,​?> createIf​(Class<? extends If<?,​?>> ifClass,
                                      Field field)