|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jagg.MethodCall
net.sf.jagg.SelfMethodCall
public class SelfMethodCall
A SelfMethodCall is a MethodCall that simply
returns its own object, instead of invoking a Method on that
object.
| Constructor Summary | |
|---|---|
SelfMethodCall(java.lang.Object prototype)
Constructs a SelfMethodCall around an object. |
|
| Method Summary | |
|---|---|
java.lang.Class<?> |
getReturnType()
Returns the return type of the MethodCall, which is in this
case the type of the object prototype. |
java.lang.Object |
invoke(java.lang.Object object)
Returns the object itself without invoking any Methods. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SelfMethodCall(java.lang.Object prototype)
SelfMethodCall around an object.
prototype - A prototype object.| Method Detail |
|---|
public java.lang.Class<?> getReturnType()
MethodCall, which is in this
case the type of the object prototype.
getReturnType in class MethodCallClass object representing the return type of the
method, which is in this case the type of the object prototype.public java.lang.Object invoke(java.lang.Object object)
Methods.
invoke in class MethodCallobject - The object on which to "invoke" the Method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||