类 SynchronisePlugin

java.lang.Object
cn.korostudio.c3h6n6o6.mixin.SynchronisePlugin
所有已实现的接口:
org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin

public class SynchronisePlugin extends Object implements org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
项目究竟核心玄学类,一个Mixin的插件
  • 字段详细资料

    • syncLogger

      private static final org.apache.logging.log4j.Logger syncLogger
      logger
    • syncAllSet

      private final TreeSet<String> syncAllSet
      列表类集
  • 构造器详细资料

    • SynchronisePlugin

      public SynchronisePlugin()
  • 方法详细资料

    • onLoad

      public void onLoad (String mixinPackage)
      加入列表.png
      指定者:
      onLoad 在接口中 org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
      参数:
      mixinPackage - The mixin root package from the config
    • getRefMapperConfig

      public String getRefMapperConfig()
      没用到(((
      指定者:
      getRefMapperConfig 在接口中 org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
      返回:
      returnnull 还要写注释??????
    • shouldApplyMixin

      public boolean shouldApplyMixin (String targetClassName, String mixinClassName)
      没用到(((
      指定者:
      shouldApplyMixin 在接口中 org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
      返回:
      问海绵组去
    • acceptTargets

      public void acceptTargets (Set<String> myTargets, Set<String> otherTargets)
      没用到(((
      指定者:
      acceptTargets 在接口中 org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
    • getMixins

      public List<String> getMixins()
      没用到(((
      指定者:
      getMixins 在接口中 org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
      返回:
      return null 还要写注释??????
    • preApply

      public void preApply (String targetClassName, org.objectweb.asm.tree.ClassNode targetClass, String mixinClassName, org.spongepowered.asm.mixin.extensibility.IMixinInfo mixinInfo)
      没用到(((
      指定者:
      preApply 在接口中 org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
    • postApply

      public void postApply (String targetClassName, org.objectweb.asm.tree.ClassNode targetClass, String mixinClassName, org.spongepowered.asm.mixin.extensibility.IMixinInfo mixinInfo)
      最玄学的地方!去看源码罢
      指定者:
      postApply 在接口中 org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
      参数:
      targetClassName - Transformed name of the target class
      targetClass - Target class tree
      mixinClassName - Name of the mixin class
      mixinInfo - Information about this mixin