public class MethodInterceptResult extends Object
InstanceMethodsAroundInterceptor.beforeMethod(EnhancedInstance, Method, Object[], Class[], MethodInterceptResult) (org.apache.skywalking.apm.agent.core.plugin.interceptor.EnhancedClassInstanceContext,
has this as a method argument, the interceptor can manipulate
the method's return value. The new value set to this object, by defineReturnValue(Object),
will override the origin return value.
| Constructor and Description |
|---|
MethodInterceptResult() |
| Modifier and Type | Method and Description |
|---|---|
Object |
_ret() |
void |
defineReturnValue(Object ret)
define the new return value.
|
boolean |
isContinue() |
public void defineReturnValue(Object ret)
ret - new return value.public boolean isContinue()
InstMethodsInter and StaticMethodsInter) to invoke
the origin method. Otherwise, not.public Object _ret()
Copyright © 2019 The Apache Software Foundation. All rights reserved.