public interface InjectorFactory
Modifier and Type | Method and Description |
---|---|
Injector |
createInjector(Field field,
Map<Class<?>,Map<String,String>> nonStandardNames,
String uniqueName)
Creates accessors for accessing data from an object.
|
default Optional<String> |
getMapping(Map<Class<?>,Map<String,String>> classToMapping,
Class<?> c,
String fieldName) |
Injector createInjector(Field field, Map<Class<?>,Map<String,String>> nonStandardNames, String uniqueName)
field
- The field we're trying to accessnonStandardNames
- a map of possible methods from the class itselfuniqueName
- a uniqueName to use as a key in map if the class has two methods with same name.Copyright © 2024. All rights reserved.