|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.javelot.functionalj.reflect.element.ReflectJdkStaticMethod
public class ReflectJdkStaticMethod
Represents a reflect JDK static method.
Constructor Summary | |
---|---|
ReflectJdkStaticMethod(Method p_method)
Constructs a reflect element for a static method. |
Method Summary | |
---|---|
String |
getName()
Returns the name of the reflect element. |
Class[] |
getParameterTypes()
Returns the types of the parameters to the reflect element. |
Object |
invoke(Object[] p_params)
Invokes the target static method, passing the parameters to the method. |
String |
toString()
String representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReflectJdkStaticMethod(Method p_method)
p_method
- the method to be invoked.Method Detail |
---|
public String getName()
ReflectElement
getName
in interface ReflectElement
public Class[] getParameterTypes()
ReflectElement
getParameterTypes
in interface ReflectElement
public Object invoke(Object[] p_params) throws Exception
invoke
in interface ReflectElement
p_params
- the parameters to be passed to the method.
Exception
- thrown if an exception occurs when invoking the method.public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |