Class Or

All Implemented Interfaces:
FlFunction<org.faktorips.codegen.JavaCodeFragment>, FunctionSignature

public class Or extends AbstractVarArgFunction
A function that provides a boolean or-operation and has the following signature boolean OR(boolean...).
  • Constructor Details

  • Method Details

    • compileInternal

      protected void compileInternal(CompilationResult<org.faktorips.codegen.JavaCodeFragment> returnValue, CompilationResult<org.faktorips.codegen.JavaCodeFragment>[] convertedArgs, org.faktorips.codegen.JavaCodeFragment fragment)
      Description copied from class: AbstractBaseVarArgFunction
      The actual compile logic for this function has to be implemented within this method. The called provides the CompilationResult that will be returned by this function, an array of already converted arguments and a CodeFragment into which the code is to be generated. The compilation result is provided to this method to write error messages that may occur during the code generation or to get status information. Implementations don't need to care about shoveling messages from the argument CompilationResult object to the returned CompilationResult object. This is already handled by the caller.
      Specified by:
      compileInternal in class AbstractBaseVarArgFunction<org.faktorips.codegen.JavaCodeFragment>