Package randoop.util
Class ObjectContractReflectionCode
- java.lang.Object
-
- randoop.util.ReflectionCode
-
- randoop.util.ObjectContractReflectionCode
-
public final class ObjectContractReflectionCode extends ReflectionCode
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class randoop.util.ReflectionCode
ReflectionCode.ReflectionCodeException
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ObjectContract
c
(package private) Object[]
objs
-
Fields inherited from class randoop.util.ReflectionCode
exceptionThrown, retval
-
-
Constructor Summary
Constructors Constructor Description ObjectContractReflectionCode(ObjectContract c, Object... objs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
runReflectionCodeRaw()
Execute the reflection code.String
toString()
-
Methods inherited from class randoop.util.ReflectionCode
getExceptionThrown, getReturnValue, hasRun, hasStarted, runReflectionCode, setHasRun, setHasStarted, status
-
-
-
-
Field Detail
-
c
final ObjectContract c
-
objs
final Object[] objs
-
-
Constructor Detail
-
ObjectContractReflectionCode
public ObjectContractReflectionCode(ObjectContract c, Object... objs)
-
-
Method Detail
-
runReflectionCodeRaw
protected void runReflectionCodeRaw()
Description copied from class:ReflectionCode
Execute the reflection code. All Randoop implementation errors must be thrown as ReflectionCodeException because everything else is caught.- Specified by:
runReflectionCodeRaw
in classReflectionCode
-
-