public class DefaultExpressionBuilder.MethodBase extends DefaultExpressionBuilder.FunctionBase implements ExpressionBuilder.Method
format, name, parameters
properties
Constructor and Description |
---|
MethodBase(ExpressionBuilder.Value instance,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ExpressionBuilder.Visitor visitor,
ExpressionBuilder.VisitorFilter filter) |
DefaultExpressionBuilder.MethodBase |
clone()
Creates a copy of the object.
|
ExpressionBuilder.Value |
instance() |
void |
replace(ExpressionBuilder.Value target,
ExpressionBuilder.Value replacement) |
java.lang.String |
toString(Formatter<ExpressionBuilder.Value> formatter) |
format, name, name, parameter, parameters, toString
copyPropertiesFrom, getProperties, getProperty, setProperty
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
name, parameter, parameters
copyPropertiesFrom
getProperties, getProperty, setProperty
cloneQuietly, cloneQuietly
public MethodBase(ExpressionBuilder.Value instance, java.lang.String name)
public DefaultExpressionBuilder.MethodBase clone() throws java.lang.CloneNotSupportedException
Cloneable
clone
in interface ExpressionBuilder.Value
clone
in class DefaultExpressionBuilder.FunctionBase
java.lang.CloneNotSupportedException
- if the instance of the object cannot
be cloned. As this is extending Cloneable
so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.
public ExpressionBuilder.Value instance()
instance
in interface ExpressionBuilder.Method
public void accept(ExpressionBuilder.Visitor visitor, ExpressionBuilder.VisitorFilter filter)
accept
in interface ExpressionBuilder.Visitable
accept
in class DefaultExpressionBuilder.FunctionBase
public void replace(ExpressionBuilder.Value target, ExpressionBuilder.Value replacement)
replace
in interface ExpressionBuilder.Value
replace
in class DefaultExpressionBuilder.FunctionBase
public java.lang.String toString(Formatter<ExpressionBuilder.Value> formatter)
toString
in interface ExpressionBuilder.Value
toString
in class DefaultExpressionBuilder.FunctionBase