Uses of Class
org.unitils.inject.util.PropertyAccess
-
Packages that use PropertyAccess Package Description org.unitils.inject org.unitils.inject.annotation org.unitils.inject.util -
-
Uses of PropertyAccess in org.unitils.inject
Methods in org.unitils.inject with parameters of type PropertyAccess Modifier and Type Method Description protected voidInjectModule. storeValueToRestoreAfterTest(Class<?> targetClass, String property, Class<?> fieldType, PropertyAccess propertyAccess, Object oldValue, Restore restore)Stores the old value that was replaced during the injection so that it can be restored after the test was performed. -
Uses of PropertyAccess in org.unitils.inject.annotation
Methods in org.unitils.inject.annotation that return PropertyAccess Modifier and Type Method Description PropertyAccesspropertyAccess()The property access that should be used for injection.PropertyAccesspropertyAccess()The property access that is used for injection -
Uses of PropertyAccess in org.unitils.inject.util
Methods in org.unitils.inject.util that return PropertyAccess Modifier and Type Method Description PropertyAccessValueToRestore. getPropertyAccessType()static PropertyAccessPropertyAccess. valueOf(String name)Returns the enum constant of this type with the specified name.static PropertyAccess[]PropertyAccess. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.unitils.inject.util with parameters of type PropertyAccess Modifier and Type Method Description static ObjectInjectionUtils. injectIntoByType(Object objectToInject, Type objectToInjectType, Object target, PropertyAccess propertyAccess)Performs auto-injection by type of the objectToInject on the target object.static ObjectInjectionUtils. injectIntoStaticByType(Object objectToInject, Type objectToInjectType, Class<?> targetClass, PropertyAccess propertyAccess)Performs auto-injection by type of the objectToInject into the target class.Constructors in org.unitils.inject.util with parameters of type PropertyAccess Constructor Description ValueToRestore(Class<?> targetClass, String property, Class<?> fieldType, PropertyAccess propertyAccess, Object value)
-