public abstract class AbstractInvocableFunction extends java.lang.Object implements InvocableFunction
Constructor and Description |
---|
AbstractInvocableFunction(java.lang.String name)
Constructor
|
AbstractInvocableFunction(java.lang.String name,
java.lang.Class[] argTypes)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
canInvokeOn(java.lang.Class[] argTypes)
Whether this method can be invoke on the given arguments
|
java.lang.Class[] |
getArgTypes()
Return the argTypes
|
java.lang.String |
getName()
Return the name
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
invoke
public AbstractInvocableFunction(java.lang.String name)
name
- the namepublic AbstractInvocableFunction(java.lang.String name, java.lang.Class[] argTypes)
name
- the nameargTypes
- the argument typespublic boolean canInvokeOn(java.lang.Class[] argTypes)
canInvokeOn
in interface InvocableFunction
public final java.lang.Class[] getArgTypes()
getArgTypes
in interface InvocableFunction
public final java.lang.String getName()
getName
in interface InvocableFunction
public java.lang.String toString()
toString
in class java.lang.Object