public class IlrStaticMethodInvocation extends IlrNaryValue implements IlrStatement
Warning: Serialized objects of this class will not be compatible with future releases. The current serialization support is appropriate for short-term storage or RMI between applications running the same version of IBM Decision Server.
| Constructor and Description |
|---|
IlrStaticMethodInvocation(IlrClass clazz,
java.lang.String methodName,
IlrValue[] arguments)
Constructs a static method invocation using a class, a method name,
and an argument list.
|
IlrStaticMethodInvocation(IlrClass clazz,
java.lang.String methodName,
IlrValue[] arguments,
ilog.rules.factory.IlrReflectClass[] genericArgs)
Constructs a generic static method invocation using a class, a method,
name, an argument list, and a generic argument list.
|
IlrStaticMethodInvocation(IlrMethod method,
IlrValue[] arguments)
Constructs a static method invocation using an introspected method
and an argument list.
|
IlrStaticMethodInvocation(IlrReflect reflect)
Constructs an uninitialized static method invocation.
|
IlrStaticMethodInvocation(IlrReflect reflect,
java.lang.Class clazz,
java.lang.String methodName,
IlrValue[] arguments)
Constructs a static method invocation using a class, a method name,
and an argument list.
|
IlrStaticMethodInvocation(IlrReflect reflect,
java.lang.reflect.Method method,
IlrValue[] arguments)
Constructs a static method invocation using an introspected method
and an argument list.
|
IlrStaticMethodInvocation(IlrReflect reflect,
java.lang.String className,
java.lang.String methodName,
IlrValue[] arguments)
Constructs a static method invocation using a class name, a method name,
and an argument list.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
exploreStatement(IlrFactoryExplorer explorer)
Explores this method as a statement using a factory explorer
and returns an object as a result.
|
java.lang.Object |
exploreValue(IlrFactoryExplorer explorer)
Explores this value using a factory explorer and returns an object
as a result.
|
java.lang.String |
getClassName()
Gets the fully qualified name of the class that declares the method.
|
ilog.rules.factory.IlrReflectClass[] |
getGenericArguments()
Gets the type arguments for a generic method call.
|
java.lang.String |
getName()
Gets the name of the
IlrStaticMethodInvocation method. |
IlrValue |
getObject()
Gets the object invoked by this method call.
|
java.lang.String |
getShortClassName()
Gets the short name of the class that declares the method.
|
IlrMethod |
getXOMMethod()
Gets the method of the
IlrStaticMethodInvocation. |
void |
setMethod(IlrClass clazz,
java.lang.String methodName)
Sets the method by selecting it in a class.
|
void |
setObject(IlrValue object)
Sets the object invoked by this method call.
|
java.lang.String |
toString() |
addArgument, addArgument, addArgument, addArgument, addArgument, addArgument, addArgument, addArgument, addArgument, addArgument, addArgument, enumerateArguments, getArgumentCount, getArguments, getXOMArgumentTypesadd, divide, getField, getReflect, getType, getXOMType, invokeEquals, isConstant, isEvent, isEventCondition, isNull, multiply, remainder, subtract, testAfter, testAfter, testBefore, testBefore, testEqual, testFalse, testGreaterOrEqual, testGreaterThan, testIn, testInstanceOf, testLessOrEqual, testLessThan, testNotEqual, testNotIn, testOccursin, testTrue, timeof, toNegative, toPositive, toPostfixDecr, toPostfixIncr, toPrefixDecr, toPrefixIncrpublic IlrStaticMethodInvocation(IlrReflect reflect)
reflect - A reflect.public IlrStaticMethodInvocation(IlrReflect reflect, java.lang.Class clazz, java.lang.String methodName, IlrValue[] arguments)
reflect - A reflect.clazz - The class which defines the method.methodName - The name of the method.arguments - The arguments.public IlrStaticMethodInvocation(IlrClass clazz, java.lang.String methodName, IlrValue[] arguments)
clazz - The class which defines the method.methodName - The name of the method.arguments - The arguments.public IlrStaticMethodInvocation(IlrClass clazz, java.lang.String methodName, IlrValue[] arguments, ilog.rules.factory.IlrReflectClass[] genericArgs)
clazz - The class which defines the method.methodName - The name of the method.arguments - The arguments.genericArgs - The generic argument types.public IlrStaticMethodInvocation(IlrReflect reflect, java.lang.String className, java.lang.String methodName, IlrValue[] arguments)
reflect - A reflect.className - The name of the class which defines the method.methodName - The name of the method.arguments - The arguments.public IlrStaticMethodInvocation(IlrReflect reflect, java.lang.reflect.Method method, IlrValue[] arguments)
reflect - A reflect.method - A method.arguments - The arguments.public void setMethod(IlrClass clazz, java.lang.String methodName)
clazz - The class from which the searching starts.methodName - The method name.public IlrMethod getXOMMethod()
IlrStaticMethodInvocation.public ilog.rules.factory.IlrReflectClass[] getGenericArguments()
public java.lang.String getName()
IlrStaticMethodInvocation method.public java.lang.String getClassName()
public java.lang.String getShortClassName()
public java.lang.Object exploreValue(IlrFactoryExplorer explorer)
exploreValue in class IlrValueexplorer - The factory explorer.null if the method does not return a value.public java.lang.Object exploreStatement(IlrFactoryExplorer explorer)
exploreStatement in interface IlrStatementexplorer - The factory explorer.null
if the method does not return a value.public IlrValue getObject()
Gets the object invoked by this method call.
public void setObject(IlrValue object)
Sets the object invoked by this method call.
object - The invoked object of this method call.public java.lang.String toString()
toString in class java.lang.Object© Copyright IBM Corp. 1987, 2017