public enum ObjectHolderRegistry extends java.lang.Enum<ObjectHolderRegistry>
GameRegistry.ObjectHolder
referencesEnum Constant and Description |
---|
INSTANCE |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ObjectHolderRef> |
objectHolders |
Modifier and Type | Method and Description |
---|---|
private void |
addHolderReference(ObjectHolderRef ref) |
void |
applyObjectHolders() |
void |
findObjectHolders(ASMDataTable table) |
private void |
scanClassForFields(java.util.Map<java.lang.String,java.lang.String> classModIds,
java.lang.String className,
java.lang.String value,
java.lang.Class<?> clazz,
boolean extractFromExistingValues) |
private void |
scanTarget(java.util.Map<java.lang.String,java.lang.String> classModIds,
java.util.Map<java.lang.String,java.lang.Class<?>> classCache,
java.lang.String className,
java.lang.String annotationTarget,
java.lang.String value,
boolean isClass,
boolean extractFromValue) |
static ObjectHolderRegistry |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ObjectHolderRegistry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectHolderRegistry INSTANCE
private java.util.List<ObjectHolderRef> objectHolders
public static ObjectHolderRegistry[] values()
for (ObjectHolderRegistry c : ObjectHolderRegistry.values()) System.out.println(c);
public static ObjectHolderRegistry valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void findObjectHolders(ASMDataTable table)
private void scanTarget(java.util.Map<java.lang.String,java.lang.String> classModIds, java.util.Map<java.lang.String,java.lang.Class<?>> classCache, java.lang.String className, @Nullable java.lang.String annotationTarget, java.lang.String value, boolean isClass, boolean extractFromValue)
private void scanClassForFields(java.util.Map<java.lang.String,java.lang.String> classModIds, java.lang.String className, java.lang.String value, java.lang.Class<?> clazz, boolean extractFromExistingValues)
private void addHolderReference(ObjectHolderRef ref)
public void applyObjectHolders()