public abstract class AbstractInjector extends Object implements Injector
Modifier | Constructor and Description |
---|---|
protected |
AbstractInjector(Field field) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getDeclaringClass() |
Type |
getGenericType() |
String |
getName() |
Class<?> |
getType() |
void |
inject(Object object,
Object value) |
protected void |
tryInject(Object object,
Object value) |
protected AbstractInjector(Field field)
public Class<?> getDeclaringClass()
getDeclaringClass
in interface Injector
public Type getGenericType()
getGenericType
in interface Injector
protected void tryInject(Object object, Object value) throws InvocationTargetException, IllegalAccessException
Copyright © 2023. All rights reserved.