|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cosylab.gui.components.introspection.MethodInvocationSettings
public class MethodInvocationSettings
A class that holds the necessary information for invoking a method on a class (if the method is static) or an object.
Constructor Summary | |
---|---|
MethodInvocationSettings(java.lang.reflect.Method method)
|
Method Summary | |
---|---|
java.lang.reflect.Method |
getMethod()
Gets the method |
java.lang.Object |
getObject()
Gets the object |
java.lang.Object[] |
getParameters()
Gets the parameters |
boolean |
isStaticMethod()
Gets the staticMethod |
void |
setMethod(java.lang.reflect.Method method)
Sets the method |
void |
setObject(java.lang.Object object)
Sets the object |
void |
setParameters(java.lang.Object[] parameters)
Sets the parameters |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MethodInvocationSettings(java.lang.reflect.Method method)
method
- MethodMethod Detail |
---|
public java.lang.reflect.Method getMethod()
public java.lang.Object getObject()
public java.lang.Object[] getParameters()
public boolean isStaticMethod()
public void setMethod(java.lang.reflect.Method method)
method
- The method to setpublic void setObject(java.lang.Object object)
object
- The object to setpublic void setParameters(java.lang.Object[] parameters)
parameters
- The parameters to setpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |