public final class InjectionUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
evaluateKeys(Member member,
ConfigDefaultSections areasAnnot)
Evaluates all absolute configuration keys based on the member name found.
|
static List<String> |
evaluateKeys(Member member,
ConfigDefaultSections areasAnnot,
Config propertyAnnotation)
Evaluates all absolute configuration keys based on the annotations found in a class.
|
static List<String> |
getKeys(Field field)
Collects all keys to be be accessed as defined by any annotations of type
ConfigDefaultSections, Config. |
static List<String> |
getKeys(Method method)
Collects all keys to be be accessed as defined by any annotations of type
ConfigDefaultSections, Config. |
public static List<String> getKeys(Field field)
ConfigDefaultSections, Config.field - the (optionally) annotated field instanceConfiguration.public static List<String> getKeys(Method method)
ConfigDefaultSections, Config.method - the (optionally) annotated method instanceConfiguration.public static List<String> evaluateKeys(Member member, ConfigDefaultSections areasAnnot)
member - member to analyze.areasAnnot - the (optional) annotation defining areas to be looked up.public static List<String> evaluateKeys(Member member, ConfigDefaultSections areasAnnot, Config propertyAnnotation)
member - member to analyze.areasAnnot - the (optional) annotation definining areas to be looked up.propertyAnnotation - the annotation on field/method level that may defined one or
several keys to be looked up (in absolute or relative form).Copyright © 2014–2016 Apache Software Foundation. All rights reserved.