Package net.minecraftforge.common.asm
Class ObjectHolderDefinalize
java.lang.Object
net.minecraftforge.common.asm.ObjectHolderDefinalize
- All Implemented Interfaces:
- 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.
- 
Nested Class SummaryNested classes/interfaces inherited from interface cpw.mods.modlauncher.serviceapi.ILaunchPluginServicecpw.mods.modlauncher.serviceapi.ILaunchPluginService.ComputeFlags, cpw.mods.modlauncher.serviceapi.ILaunchPluginService.ITransformerLoader, cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate StringEnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase>handlesClass(org.objectweb.asm.Type classType, boolean isEmpty)private booleanname()intprocessClassWithFlags(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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cpw.mods.modlauncher.serviceapi.ILaunchPluginServiceaddResources, customAuditConsumer, getExtension, handlesClass, initializeLaunch, offerResource, processClass, processClass
- 
Field Details- 
OBJECT_HOLDER- See Also:
- Constant Field Values
 
- 
YAY
- 
NAY
 
- 
- 
Constructor Details- 
ObjectHolderDefinalizepublic ObjectHolderDefinalize()
 
- 
- 
Method Details- 
name- Specified by:
- namein interface- cpw.mods.modlauncher.serviceapi.ILaunchPluginService
 
- 
handlesClasspublic EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> handlesClass(org.objectweb.asm.Type classType, boolean isEmpty)- Specified by:
- handlesClassin interface- cpw.mods.modlauncher.serviceapi.ILaunchPluginService
 
- 
hasHolder
- 
getValue
- 
processClassWithFlagspublic int processClassWithFlags(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase phase, org.objectweb.asm.tree.ClassNode classNode, org.objectweb.asm.Type classType, String reason)- Specified by:
- processClassWithFlagsin interface- cpw.mods.modlauncher.serviceapi.ILaunchPluginService
 
 
-