Package org.powermock.reflect.internal
Class CandidateConstructorSearcher<T>
java.lang.Object
org.powermock.reflect.internal.CandidateConstructorSearcher<T>
This class search the best candidate in the given class to invoke constructor with given parameters.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCandidateConstructorSearcher
(Class<T> classThatContainsTheConstructorToTest, Class<?>[] argumentTypes) -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
argumentsApplied
(Constructor<?> constructor) private Constructor<T>
findBestCandidate
(Constructor<T>[] constructors) private Constructor<T>[]
-
Field Details
-
classThatContainsTheConstructorToTest
-
argumentTypes
-
-
Constructor Details
-
CandidateConstructorSearcher
-
-
Method Details
-
findConstructor
-
findBestCandidate
-
getConstructors
-
argumentsApplied
-