public abstract class FunctionArgument<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
Expression<T> |
expression()
Returns the expression contained in this argument, or null if this argument
is not an expression argument.
|
boolean |
isExpression()
Returns true when this argument contains an expression
|
boolean |
isValue()
Returns true when this argument contains a value
|
static <U> FunctionArgument<U> |
of(Expression<U> expression)
Creates a new function argument that contains an expression.
|
static <U> FunctionArgument<U> |
of(U value)
Creates a new function argument that contains a value.
|
T |
value()
Returns the value contained in this argument, or null if this argument is
not a value argument.
|
public static <U> FunctionArgument<U> of(U value)
public static <U> FunctionArgument<U> of(Expression<U> expression)
public Expression<T> expression()
public T value()
public boolean isExpression()
public boolean isValue()
Copyright © 2016–2023. All rights reserved.