Package org.mockito.internal.util.reflection
Reflection utilities.
-
Interface Summary Interface Description FieldInitializer.ConstructorArgumentResolver Represents the strategy used to resolve actual instances to be given to a constructor given the argument types.FieldInitializer.ConstructorInstantiator GenericMetadataSupport.BoundedType Type representing bounds of a typeInstrumentationMemberAccessor.Dispatcher -
Class Summary Class Description BeanPropertySetter This utility class will call the setter of the property to inject a new value.FieldInitializationReport Report on field initializationFieldInitializer Initialize a field with type instance if a default constructor can be found.FieldInitializer.NoArgConstructorInstantiator Constructor instantiating strategy for no-arg constructor.FieldInitializer.ParameterizedConstructorInstantiator Constructor instantiating strategy for parameterized constructors.FieldReader Fields Small fluent reflection tools to work with fields.Fields.InstanceFields GenericMaster GenericMetadataSupport This class can retrieve generic meta-data that the compiler stores on classes and accessible members.GenericMetadataSupport.FromClassGenericMetadataSupport Generic metadata implementation forClass
.GenericMetadataSupport.FromParameterizedTypeGenericMetadataSupport Generic metadata implementation for "standalone"ParameterizedType
.GenericMetadataSupport.GenericArrayReturnType GenericMetadataSupport.NotGenericReturnTypeSupport Non-Generic metadata forClass
returned viaMethod.getGenericReturnType()
.GenericMetadataSupport.ParameterizedReturnType Generic metadata specific toParameterizedType
returned viaMethod.getGenericReturnType()
.GenericMetadataSupport.TypeVarBoundedType Type representing bounds of a type variable, allows to keep all bounds information.GenericMetadataSupport.TypeVariableReturnType Generic metadata forTypeVariable
returned viaMethod.getGenericReturnType()
.GenericMetadataSupport.WildCardBoundedType Type representing bounds of a wildcard, allows to keep all bounds information.GenericTypeExtractor Attempts to extract generic type of given target base class or target interfaceInstanceField Represents an accessible instance field.InstrumentationMemberAccessor LenientCopyTool ModuleMemberAccessor ReflectionMemberAccessor SuperTypesLastSorter Sort fields in an order suitable for injection, by name with superclasses moved after their subclasses.