public class ASMDataTable
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ASMDataTable.ASMData |
private static class |
ASMDataTable.ModContainerPredicate |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ModContainer,com.google.common.collect.SetMultimap<java.lang.String,ASMDataTable.ASMData>> |
containerAnnotationData |
private java.util.List<ModContainer> |
containers |
private com.google.common.collect.SetMultimap<java.lang.String,ASMDataTable.ASMData> |
globalAnnotationData |
private com.google.common.collect.SetMultimap<java.lang.String,ModCandidate> |
packageMap |
Constructor and Description |
---|
ASMDataTable() |
Modifier and Type | Method and Description |
---|---|
void |
addASMData(ModCandidate candidate,
java.lang.String annotation,
java.lang.String className,
java.lang.String objectName,
java.util.Map<java.lang.String,java.lang.Object> annotationInfo) |
void |
addContainer(ModContainer container) |
java.util.Set<ASMDataTable.ASMData> |
getAll(java.lang.String annotation) |
com.google.common.collect.SetMultimap<java.lang.String,ASMDataTable.ASMData> |
getAnnotationsFor(ModContainer container) |
java.util.Set<ModCandidate> |
getCandidatesFor(java.lang.String pkg) |
static java.lang.String |
getOwnerModID(java.util.Set<ASMDataTable.ASMData> mods,
ASMDataTable.ASMData targ) |
void |
registerPackage(ModCandidate modCandidate,
java.lang.String pkg) |
private final com.google.common.collect.SetMultimap<java.lang.String,ASMDataTable.ASMData> globalAnnotationData
private java.util.Map<ModContainer,com.google.common.collect.SetMultimap<java.lang.String,ASMDataTable.ASMData>> containerAnnotationData
private java.util.List<ModContainer> containers
private com.google.common.collect.SetMultimap<java.lang.String,ModCandidate> packageMap
public com.google.common.collect.SetMultimap<java.lang.String,ASMDataTable.ASMData> getAnnotationsFor(ModContainer container)
public java.util.Set<ASMDataTable.ASMData> getAll(java.lang.String annotation)
public void addASMData(ModCandidate candidate, java.lang.String annotation, java.lang.String className, @Nullable java.lang.String objectName, @Nullable java.util.Map<java.lang.String,java.lang.Object> annotationInfo)
public void addContainer(ModContainer container)
public void registerPackage(ModCandidate modCandidate, java.lang.String pkg)
public java.util.Set<ModCandidate> getCandidatesFor(java.lang.String pkg)
@Nullable public static java.lang.String getOwnerModID(java.util.Set<ASMDataTable.ASMData> mods, ASMDataTable.ASMData targ)