Interface TemplateRuleWithCondition

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isApplicable​(TemplateContext context)
      Tell whether rule can be applied in the context FIXME shall throw GenerationFailureException (neither Dismiss/Abandon nor Cancel could not get thrown from within) but has to re-generate generated generators that implement this method (either with narrowed throws or without any at all)
    • Method Detail

      • isApplicable

        boolean isApplicable​(@NotNull
                             TemplateContext context)
                      throws GenerationException
        Tell whether rule can be applied in the context FIXME shall throw GenerationFailureException (neither Dismiss/Abandon nor Cancel could not get thrown from within) but has to re-generate generated generators that implement this method (either with narrowed throws or without any at all)
        Throws:
        GenerationException
        Since:
        3.3