|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.javelot.functionalj.reflect.element.ReflectJdkConstructor
Represents a reflect JDK constructor.
| Constructor Summary | |
ReflectJdkConstructor(Constructor p_constr)
Constructs a reflect element for a JDK constructor. |
|
| 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 constructor, passing the specified parameters. |
String |
toString()
String representation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ReflectJdkConstructor(Constructor p_constr)
p_constr - the reflect constructor.| Method Detail |
public String getName()
ReflectElement
getName in interface ReflectElementpublic Class[] getParameterTypes()
ReflectElement
getParameterTypes in interface ReflectElement
public Object invoke(Object[] p_params)
throws Exception
invoke in interface ReflectElementp_params - the parameters to be passed to the constructor.
Exception - thrown if an exception occurs when invoking the
constructor.public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||