类 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.
  • 字段详细资料

    • VANILLA_OBJECT_HOLDERS

      private static final Map<String,ObjectHolderDefinalize.VanillaObjectHolderData> VANILLA_OBJECT_HOLDERS
    • VANILLA_OBJECT_HOLDER_CLASSES

      private static final Set<String> VANILLA_OBJECT_HOLDER_CLASSES
    • OBJECT_HOLDER

      private static final String OBJECT_HOLDER
      另请参阅:
    • PUBLIC_STATIC_FINAL_FLAGS

      private static final int PUBLIC_STATIC_FINAL_FLAGS
      另请参阅:
    • YAY

      private static final EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> YAY
    • NAY

      private static final EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> NAY
  • 构造器详细资料

    • ObjectHolderDefinalize

      public ObjectHolderDefinalize()
  • 方法详细资料

    • name

      public String 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

      private static boolean hasHolder(List<org.objectweb.asm.tree.AnnotationNode> lst)
    • getValue

      private String getValue(List<org.objectweb.asm.tree.AnnotationNode> lst)
    • 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