public class StaticMethodExpression extends ExpressionBase
Constructor and Description |
---|
StaticMethodExpression(String className,
List<DotExpressionItem> chain)
Ctor.
|
StaticMethodExpression(String className,
String method,
Object[] parameters)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
List<DotExpressionItem> |
getChain()
Returns the chain of method invocations, each pair a method name and list of parameter expressions
|
String |
getClassName()
Returns the class name.
|
ExpressionPrecedenceEnum |
getPrecedence()
Returns precedence.
|
void |
setChain(List<DotExpressionItem> chain)
Sets the chain of method invocations, each pair a method name and list of parameter expressions
|
void |
setClassName(String className)
Sets the class name.
|
void |
toPrecedenceFreeEPL(StringWriter writer)
Renders the expressions and all it's child expression, in full tree depth, as a string in
language syntax.
|
addChild, getChildren, getTreeObjectName, renderAggregation, setChildren, setTreeObjectName, toEPL, toPrecedenceFreeEPL, toPrecedenceFreeEPL
public StaticMethodExpression(String className, String method, Object[] parameters)
className
- class name providing the static methodmethod
- method nameparameters
- an optiona array of parameterspublic StaticMethodExpression(String className, List<DotExpressionItem> chain)
className
- class name providing the static methodchain
- method chainpublic List<DotExpressionItem> getChain()
public void setChain(List<DotExpressionItem> chain)
chain
- method chainpublic ExpressionPrecedenceEnum getPrecedence()
Expression
public void toPrecedenceFreeEPL(StringWriter writer)
ExpressionBase
toPrecedenceFreeEPL
in class ExpressionBase
writer
- is the output to usepublic String getClassName()
public void setClassName(String className)
className
- class name