org.test4j.tools.reflector.imposteriser
类 Invocation
java.lang.Object
org.test4j.tools.reflector.imposteriser.Invocation
- 所有已实现的接口:
- SelfDescribing
public class Invocation
- extends Object
- implements SelfDescribing
The static details about a method and the run-time details of its invocation.
- 从以下版本开始:
- 1.0
NO_PARAMETERS
public static final Object[] NO_PARAMETERS
Invocation
public Invocation(Object invoked,
Method method,
Object... parameterValues)
toString
public String toString()
- 覆盖:
- 类
Object 中的 toString
equals
public boolean equals(Object other)
- 覆盖:
- 类
Object 中的 equals
equals
public boolean equals(Invocation other)
hashCode
public int hashCode()
- 覆盖:
- 类
Object 中的 hashCode
describeTo
public void describeTo(Description description)
- 指定者:
- 接口
SelfDescribing 中的 describeTo
getInvokedObject
public Object getInvokedObject()
getInvokedMethod
public Method getInvokedMethod()
getParameterCount
public int getParameterCount()
getParameter
public Object getParameter(int i)
getParametersAsArray
public Object[] getParametersAsArray()
applyTo
public Object applyTo(Object target)
throws Throwable
- 抛出:
Throwable
checkReturnTypeCompatibility
public void checkReturnTypeCompatibility(Object value)
Copyright © 2013. All rights reserved.