Package net.minecraftforge.common.asm
Class CapabilityInjectDefinalize
java.lang.Object
net.minecraftforge.common.asm.CapabilityInjectDefinalize
- All Implemented Interfaces:
cpw.mods.modlauncher.serviceapi.ILaunchPluginService
public class CapabilityInjectDefinalize
extends Object
implements cpw.mods.modlauncher.serviceapi.ILaunchPluginService
Removes the final modifier from fields with the @CapabilityInject annotation, prevents the JITer from in lining them so our runtime replacements can work.
-
Nested Class Summary
Nested classes/interfaces inherited from interface cpw.mods.modlauncher.serviceapi.ILaunchPluginService
cpw.mods.modlauncher.serviceapi.ILaunchPluginService.ComputeFlags, cpw.mods.modlauncher.serviceapi.ILaunchPluginService.ITransformerLoader, cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionEnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase>
handlesClass
(org.objectweb.asm.Type classType, boolean isEmpty) private boolean
name()
int
processClassWithFlags
(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase phase, org.objectweb.asm.tree.ClassNode classNode, org.objectweb.asm.Type classType, String reason) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cpw.mods.modlauncher.serviceapi.ILaunchPluginService
addResources, customAuditConsumer, getExtension, handlesClass, initializeLaunch, offerResource, processClass, processClass
-
Field Details
-
CAP
- See Also:
-
CAP_INJECT
- See Also:
-
YAY
-
NAY
-
-
Constructor Details
-
CapabilityInjectDefinalize
public CapabilityInjectDefinalize()
-
-
Method Details
-
name
- Specified by:
name
in interfacecpw.mods.modlauncher.serviceapi.ILaunchPluginService
-
handlesClass
public EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> handlesClass(org.objectweb.asm.Type classType, boolean isEmpty) - Specified by:
handlesClass
in interfacecpw.mods.modlauncher.serviceapi.ILaunchPluginService
-
hasHolder
-
processClassWithFlags
public int processClassWithFlags(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase phase, org.objectweb.asm.tree.ClassNode classNode, org.objectweb.asm.Type classType, String reason) - Specified by:
processClassWithFlags
in interfacecpw.mods.modlauncher.serviceapi.ILaunchPluginService
-