public static interface Reflection.Method
Modifier and Type | Method and Description |
---|---|
Class[] |
getParameterTypes()
Returns an array of
Class objects that represents
the formal parameter types, in declaration order of this constructor. |
Object |
invoke(Object thisObject)
Invokes this method on the specified object which might be
null if the method is static (convenience method). |
Object |
invoke(Object thisObject,
Object arg0)
Invokes this method with the specified single argument
on the specified object which might be
null
if the method is static (convenience method). |
Object |
invoke(Object thisObject,
Object arg0,
Object arg1)
Invokes this method with the specified two arguments
on the specified object which might be
null
if the method is static (convenience method). |
Object |
invoke(Object thisObject,
Object arg0,
Object arg1,
Object arg2)
Invokes this method with the specified three arguments
on the specified object which might be
null
if the method is static. |
Class[] getParameterTypes()
Class
objects that represents
the formal parameter types, in declaration order of this constructor.Object invoke(Object thisObject)
null
if the method is static (convenience method).thisObject
- the object upon which this method is invoked
or null
for static methods.IllegalArgumentException
- if
this.getParametersTypes().length != 0
Object invoke(Object thisObject, Object arg0)
null
if the method is static (convenience method).thisObject
- the object upon which this method is invoked
or null
for static methods.arg0
- the single argument.IllegalArgumentException
- if
this.getParametersTypes().length != 1
Object invoke(Object thisObject, Object arg0, Object arg1)
null
if the method is static (convenience method).thisObject
- the object upon which this method is invoked
or null
for static methods.arg0
- the first argument.arg1
- the second argument.IllegalArgumentException
- if
this.getParametersTypes().length != 2
Object invoke(Object thisObject, Object arg0, Object arg1, Object arg2)
null
if the method is static.thisObject
- the object upon which this method is invoked
or null
for static methods.arg0
- the first argument (convenience method).arg1
- the second argument.arg2
- the third argument.IllegalArgumentException
- if
this.getParametersTypes().length != 3
Copyright © 2005–2018 Javolution. All rights reserved.