InterfaceRulesClass.Vars

ide.Java.InterfaceRulesClass.Vars = xxx

This parameter can be used to specify statements for the rules module, e.g. for defining instance variables that are ge­ne­ra­ted before the exe­cute method in the rules module. Presented below is an example of a logging-facade being incorporated as an instance variable.

Entry in an LFET.Project.ini-file:
ide.Java.InterfaceRulesClass.Annotations = lombok.RequiresArgsConstructor
ide.Java.InterfaceRulesClass.Vars = final package.LoggingFacade loggingFacade;
Or also in several lines, as necessary, in an LFET.Project.yaml-file:
ide.Java:

  Interface:

    RulesClass:
      Annotations:
      - lombok.RequiresArgsConstructor
      Vars: |
        // Incorporation of standard LoggingFacade
        final package.LoggingFacade loggingFacade;