类 CapabilityTokenSubclass

java.lang.Object
net.minecraftforge.fml.common.asm.CapabilityTokenSubclass
所有已实现的接口:
cpw.mods.modlauncher.serviceapi.ILaunchPluginService

public class CapabilityTokenSubclass extends Object implements cpw.mods.modlauncher.serviceapi.ILaunchPluginService
Implements getType() in CapabilityToken subclasses. Using the class's signature to determine the generic type of TypeToken, and then implements getType() using that value.
 Example:

  new CapabilityToken<String>(){}
  Has the signature "CapabilityToken<Ljava/lang/String;>"

  Implements the method:
  public String getType() {
    return "java/lang/String";
  }
 
  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    private static final class 
     

    从接口继承的嵌套类/接口 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 String
     
    private static final String
     
    private static final String
     
    private static final EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase>
     
    private static final EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase>
     
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase>
    handlesClass(org.objectweb.asm.Type classType, boolean isEmpty)
     
     
    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
  • 字段详细资料

    • FUNC_NAME

      private static final String FUNC_NAME
      另请参阅:
    • FUNC_DESC

      private static final String FUNC_DESC
      另请参阅:
    • CAP_INJECT

      private static final String CAP_INJECT
      另请参阅:
    • YAY

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

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

    • CapabilityTokenSubclass

      public CapabilityTokenSubclass()
  • 方法详细资料

    • 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
    • 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