public static final class InjectorGroupInfo.Map extends java.util.HashMap<java.lang.String,InjectorGroupInfo>
| Constructor and Description |
|---|
Map() |
| Modifier and Type | Method and Description |
|---|---|
InjectorGroupInfo |
forName(java.lang.String name)
Get group for the specified name, creates the group in this map if
it does not already exist
|
InjectorGroupInfo |
get(java.lang.Object key) |
InjectorGroupInfo |
parseGroup(org.objectweb.asm.tree.AnnotationNode annotation,
java.lang.String defaultGroup)
Parse a group from the specified annotation, use the default group
name if no group name is specified on the annotation
|
InjectorGroupInfo |
parseGroup(org.objectweb.asm.tree.MethodNode method,
java.lang.String defaultGroup)
Parse a group from the specified method, use the default group name
if no group name is specified on the annotation
|
void |
validateAll()
Validate all groups in this collection
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic InjectorGroupInfo get(java.lang.Object key)
get in interface java.util.Map<java.lang.String,InjectorGroupInfo>get in class java.util.HashMap<java.lang.String,InjectorGroupInfo>public InjectorGroupInfo forName(java.lang.String name)
name - Name of group to fetchpublic InjectorGroupInfo parseGroup(org.objectweb.asm.tree.MethodNode method, java.lang.String defaultGroup)
method - (Possibly) annotated methoddefaultGroup - Default group name to usepublic InjectorGroupInfo parseGroup(org.objectweb.asm.tree.AnnotationNode annotation, java.lang.String defaultGroup)
annotation - Annotation or nulldefaultGroup - Default group name to usepublic void validateAll()
throws InjectionValidationException
InjectionValidationException - if validation fails