org.ow2.opensuit.core.expression
Annotation Type ExprFunction


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface ExprFunction

This annotation allows to declare that a method is an expression function


Optional Element Summary
 java.lang.String compileMethod
          Defines the name of the method that compiles this function.
 java.lang.String valuePatternMethod
          Defines the name of the method that is able to compute the value pattern.
 

compileMethod

public abstract java.lang.String compileMethod
Defines the name of the method that compiles this function.
The targeted method must have the following signature:
public void methodName(OpenSuitCompilationContext compilationContext, ICompilationLogger compilationLogger, Method method, List<IExpression> arguments

Returns:
Default:
""

valuePatternMethod

public abstract java.lang.String valuePatternMethod
Defines the name of the method that is able to compute the value pattern.
The targeted method must have the following signature:
public String methodName(Method method, List<IExpression> arguments)

Returns:
Default:
""


Copyright © 2008-2012 OW2 Consortium. All Rights Reserved.