类 ObjectHolderDefinalize
java.lang.Object
net.minecraftforge.fml.common.asm.ObjectHolderDefinalize
- 所有已实现的接口:
cpw.mods.modlauncher.serviceapi.ILaunchPluginService
public class ObjectHolderDefinalize
extends Object
implements cpw.mods.modlauncher.serviceapi.ILaunchPluginService
Removes the final modifier from fields with the @ObjectHolder annotation, prevents the JITer from in lining them so our runtime replacements can work.
Will also de-finalize all fields in on class level annotations.
-
嵌套类概要
嵌套类从接口继承的嵌套类/接口 cpw.mods.modlauncher.serviceapi.ILaunchPluginService
cpw.mods.modlauncher.serviceapi.ILaunchPluginService.ComputeFlags, cpw.mods.modlauncher.serviceapi.ILaunchPluginService.ITransformerLoader, cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase
-
字段概要
字段修饰符和类型字段说明private static final EnumSet
<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> private static final String
private static final int
private static final Map
<String, ObjectHolderDefinalize.VanillaObjectHolderData> private static final EnumSet
<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private String
EnumSet
<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> handlesClass
(org.objectweb.asm.Type classType, boolean isEmpty) private static boolean
name()
int
processClassWithFlags
(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase phase, org.objectweb.asm.tree.ClassNode classNode, org.objectweb.asm.Type classType, String reason) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 cpw.mods.modlauncher.serviceapi.ILaunchPluginService
addResources, customAuditConsumer, getExtension, handlesClass, initializeLaunch, initializeLaunch, offerResource, processClass, processClass
-
字段详细资料
-
VANILLA_OBJECT_HOLDERS
private static final Map<String,ObjectHolderDefinalize.VanillaObjectHolderData> VANILLA_OBJECT_HOLDERS -
VANILLA_OBJECT_HOLDER_CLASSES
-
OBJECT_HOLDER
- 另请参阅:
-
PUBLIC_STATIC_FINAL_FLAGS
private static final int PUBLIC_STATIC_FINAL_FLAGS- 另请参阅:
-
YAY
-
NAY
-
-
构造器详细资料
-
ObjectHolderDefinalize
public ObjectHolderDefinalize()
-
-
方法详细资料
-
name
- 指定者:
name
在接口中cpw.mods.modlauncher.serviceapi.ILaunchPluginService
-
handlesClass
public EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> handlesClass(org.objectweb.asm.Type classType, boolean isEmpty) - 指定者:
handlesClass
在接口中cpw.mods.modlauncher.serviceapi.ILaunchPluginService
-
hasHolder
-
getValue
-
processClassWithFlags
public int processClassWithFlags(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase phase, org.objectweb.asm.tree.ClassNode classNode, org.objectweb.asm.Type classType, String reason) - 指定者:
processClassWithFlags
在接口中cpw.mods.modlauncher.serviceapi.ILaunchPluginService
-