Package | Description |
---|---|
com.google.common.reflect |
This package contains utilities to work with Java reflection.
|
com.google.common.testing |
This package contains testing utilities.
|
Modifier and Type | Method and Description |
---|---|
ImmutableList<Parameter> |
Invokable.getParameters()
Returns all declared parameters of this
Invokable . |
Modifier and Type | Method and Description |
---|---|
private static java.lang.Object |
ClassSanityTester.generateDummyArg(Parameter param,
FreshValueGenerator generator) |
(package private) static boolean |
NullPointerTester.isNullable(Parameter param) |
(package private) static boolean |
NullPointerTester.isPrimitiveOrNullable(Parameter param) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<java.lang.Object> |
ClassSanityTester.generateEqualFactoryArguments(Invokable<?,?> factory,
java.util.List<Parameter> params,
java.util.List<java.lang.Object> args)
Returns dummy factory arguments that are equal to
args but may be different instances,
to be used to construct a second instance of the same equality group. |
Constructor and Description |
---|
ParameterHasNoDistinctValueException(Parameter parameter) |
ParameterNotInstantiableException(Parameter parameter) |