|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MethodWrapper
An interface to wrap a Java method or constructor. This interface is used to pass per-method test-related information to the test case generator, e.g., user-supplied test data.
| Field Summary | |
|---|---|
static int |
BASIC_CONSTRUCTOR
A basic constructor is a constructor or a static method that can create an instance of a class without needing another instance of the class. |
static int |
EXTENDED_CONSTRUCTOR
An extended constructor is a constructor or a static method that can create an instance of a class, given other instances of the class. |
static int |
MUTATOR
A mutator is an instance method that may modify the object. |
static int |
OBSERVER
All other methods that are not mutators are observers. |
| Method Summary | |
|---|---|
int |
getKind()
Returns the kind of wrapped object. |
Member |
getWrapped()
Returns the wrapped method or constructor. |
boolean |
isConstructor()
Returns true if the wrapped is a Java constructor. |
| Field Detail |
|---|
static final int BASIC_CONSTRUCTOR
static final int EXTENDED_CONSTRUCTOR
static final int MUTATOR
static final int OBSERVER
| Method Detail |
|---|
Member getWrapped()
boolean isConstructor()
Constructor, not of
kind BASIC_CONSTRUCTOR
or EXTENDED_CONSTRUCTOR.
int getKind()
BASIC_CONSTRUCTOR,
EXTENDED_CONSTRUCTOR, MUTATOR, and
OBSERVER.
|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||