public class SimpleParameterGuesser extends java.lang.Object implements IParameterGuesser
| Modifier and Type | Field and Description | 
|---|---|
protected IParameterGuesser | 
parent
The parent. 
 | 
protected java.util.Collection<?> | 
values
The values. 
 | 
| Constructor and Description | 
|---|
SimpleParameterGuesser(java.util.Collection<?> values)
Create a new guesser. 
 | 
SimpleParameterGuesser(IParameterGuesser parent)
Create a new guesser. 
 | 
SimpleParameterGuesser(IParameterGuesser parent,
                      java.util.Collection<?> values)
Create a new guesser. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
IParameterGuesser | 
getParent()
Get the parent guesser. 
 | 
java.lang.Object | 
guessParameter(java.lang.Class<?> type,
              boolean exact)
Guess a parameter. 
 | 
void | 
setParent(IParameterGuesser parent)
Set the parent. 
 | 
protected IParameterGuesser parent
protected java.util.Collection<?> values
public SimpleParameterGuesser(IParameterGuesser parent)
public SimpleParameterGuesser(java.util.Collection<?> values)
public SimpleParameterGuesser(IParameterGuesser parent, java.util.Collection<?> values)
public java.lang.Object guessParameter(java.lang.Class<?> type,
                                       boolean exact)
guessParameter in interface IParameterGuessertype - The type.exact - Test with exactpublic IParameterGuesser getParent()
public void setParent(IParameterGuesser parent)
parent - The parent.