Package org.mockito.internal.util.reflection
package org.mockito.internal.util.reflection
Reflection utilities.
-
ClassDescriptionThis utility class will call the setter of the property to inject a new value.Report on field initializationInitialize a field with type instance if a default constructor can be found.Represents the strategy used to resolve actual instances to be given to a constructor given the argument types.Constructor instantiating strategy for no-arg constructor.Constructor instantiating strategy for parameterized constructors.Small fluent reflection tools to work with fields.This class can retrieve generic meta-data that the compiler stores on classes and accessible members.Type representing bounds of a typeGeneric metadata implementation for
Class
.Generic metadata implementation for "standalone"ParameterizedType
.Non-Generic metadata forClass
returned viaMethod.getGenericReturnType()
.Generic metadata specific toParameterizedType
returned viaMethod.getGenericReturnType()
.Type representing bounds of a type variable, allows to keep all bounds information.Generic metadata forTypeVariable
returned viaMethod.getGenericReturnType()
.Type representing bounds of a wildcard, allows to keep all bounds information.Attempts to extract generic type of given target base class or target interfaceRepresents an accessible instance field.Sort fields in an order suitable for injection, by name with superclasses moved after their subclasses.