Package org.faktorips.fl.functions
Class And
java.lang.Object
org.faktorips.fl.FunctionSignatureImpl
org.faktorips.fl.functions.AbstractBaseFlFunction<T>
org.faktorips.fl.functions.AbstractBaseVarArgFunction<org.faktorips.codegen.JavaCodeFragment>
org.faktorips.fl.functions.AbstractVarArgFunction
org.faktorips.fl.functions.And
- All Implemented Interfaces:
FlFunction<org.faktorips.codegen.JavaCodeFragment>,FunctionSignature
A function that provides a boolean and-operation and has the following signature boolean
AND(boolean...).
-
Field Summary
Fields inherited from class org.faktorips.fl.functions.AbstractBaseVarArgFunction
ERROR_MESSAGE_CODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcompileInternal(CompilationResult<org.faktorips.codegen.JavaCodeFragment> returnValue, CompilationResult<org.faktorips.codegen.JavaCodeFragment>[] convertedArgs, org.faktorips.codegen.JavaCodeFragment fragment) The actual compile logic for this function has to be implemented within this method.Methods inherited from class org.faktorips.fl.functions.AbstractVarArgFunction
compileMethods inherited from class org.faktorips.fl.functions.AbstractBaseVarArgFunction
getExpectedDatatypeForArgResultConversionMethods inherited from class org.faktorips.fl.functions.AbstractBaseFlFunction
getCompiler, getDescription, setCompiler, setDescriptionMethods inherited from class org.faktorips.fl.FunctionSignatureImpl
getArgTypes, getName, getType, hasVarArgs, isSame, match, matchUsingConversion, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.faktorips.fl.FunctionSignature
getArgTypes, getName, getType, hasVarArgs, isSame, match, matchUsingConversion
-
Constructor Details
-
And
-
-
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:AbstractBaseVarArgFunctionThe actual compile logic for this function has to be implemented within this method. The called provides theCompilationResultthat will be returned by this function, an array of already converted arguments and aCodeFragmentinto 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 argumentCompilationResultobject to the returned CompilationResult object. This is already handled by the caller.- Specified by:
compileInternalin classAbstractBaseVarArgFunction<org.faktorips.codegen.JavaCodeFragment>
-