|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omnaest.utils.proxy.MethodCallCapturer.MethodCallCaptureContext
public static class MethodCallCapturer.MethodCallCaptureContext
Container class for the absolute canonical method name when a MethodCallCapture instance has been captured.
MethodCallCapturer| Field Summary | |
|---|---|
protected MethodCallCapture |
methodCallCapture
|
protected MethodCallCapturer.MethodCallCaptureContext |
previousMethodCallCaptureContext
|
protected Object |
returnedStub
|
| Constructor Summary | |
|---|---|
MethodCallCapturer.MethodCallCaptureContext(MethodCallCapture methodCallCapture,
MethodCallCapturer.MethodCallCaptureContext previousMethodCallCaptureContext)
|
|
| Method Summary | |
|---|---|
List<MethodCallCapture> |
determineCanonicalMethodCallCaptures(Object rootStub)
Returns the canonical list of MethodCallCaptures from the given root stub as base. |
String |
determineCanonicalMethodName(Object rootStub)
Returns the canonical method name relative to the given root stub object |
String |
determineCanonicalPropertyName(Object rootStub)
Returns the canonical property name relative to the given root stub object |
MethodCallCapture |
getMethodCallCapture()
|
MethodCallCapturer.MethodCallCaptureContext |
getPreviousMethodCallCaptureContext()
|
protected Object |
getReturnedStub()
Gets the stub object returned by the captured method call. |
Object |
getStub()
Returns the stub for which this MethodCallCapturer.MethodCallCaptureContext was created for one of its methods called. |
List<Object> |
getStubList()
Returns the stub objects which have been invoked to produce this MethodCallCapturer.MethodCallCaptureContext. |
protected void |
setReturnedStub(Object returnedStub)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected MethodCallCapture methodCallCapture
protected MethodCallCapturer.MethodCallCaptureContext previousMethodCallCaptureContext
protected Object returnedStub
| Constructor Detail |
|---|
public MethodCallCapturer.MethodCallCaptureContext(MethodCallCapture methodCallCapture,
MethodCallCapturer.MethodCallCaptureContext previousMethodCallCaptureContext)
| Method Detail |
|---|
public MethodCallCapture getMethodCallCapture()
public List<MethodCallCapture> determineCanonicalMethodCallCaptures(Object rootStub)
MethodCallCaptures from the given root stub as base.
rootStub -
public String determineCanonicalMethodName(Object rootStub)
public String determineCanonicalPropertyName(Object rootStub)
public Object getStub()
MethodCallCapturer.MethodCallCaptureContext was created for one of its methods called.
public List<Object> getStubList()
MethodCallCapturer.MethodCallCaptureContext.
protected Object getReturnedStub()
protected void setReturnedStub(Object returnedStub)
public MethodCallCapturer.MethodCallCaptureContext getPreviousMethodCallCaptureContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||