Class RuntimeDistCleaner

  • All Implemented Interfaces:
    cpw.mods.modlauncher.serviceapi.ILaunchPluginService

    public class RuntimeDistCleaner
    extends java.lang.Object
    implements cpw.mods.modlauncher.serviceapi.ILaunchPluginService
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  RuntimeDistCleaner.LambdaGatherer  
      • 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

      Fields 
      Modifier and Type Field Description
      private static java.lang.String DIST  
      private static org.apache.logging.log4j.Marker DISTXFORM  
      private static org.apache.logging.log4j.Logger LOGGER  
      private static java.util.EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> NAY  
      private static java.lang.String ONLYIN  
      private static java.lang.String ONLYINS  
      private static java.util.EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> YAY  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.function.Consumer<net.minecraftforge.api.distmarker.Dist> getExtension()  
      java.util.EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> handlesClass​(org.objectweb.asm.Type classType, boolean isEmpty)  
      java.lang.String name()  
      int processClassWithFlags​(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase phase, org.objectweb.asm.tree.ClassNode classNode, org.objectweb.asm.Type classType, java.lang.String reason)  
      private boolean remove​(java.util.List<org.objectweb.asm.tree.AnnotationNode> anns, java.lang.String side)  
      private static java.util.List<org.objectweb.asm.tree.AnnotationNode> unpack​(java.util.List<org.objectweb.asm.tree.AnnotationNode> anns)  
      • 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, handlesClass, initializeLaunch, offerResource, processClass, processClass
    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • DISTXFORM

        private static final org.apache.logging.log4j.Marker DISTXFORM
      • DIST

        private static java.lang.String DIST
      • ONLYIN

        private static final java.lang.String ONLYIN
      • ONLYINS

        private static final java.lang.String ONLYINS
      • YAY

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

        private static final java.util.EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> NAY
    • Constructor Detail

      • RuntimeDistCleaner

        public RuntimeDistCleaner()
    • Method Detail

      • name

        public java.lang.String name()
        Specified by:
        name in interface 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,
                                         java.lang.String reason)
        Specified by:
        processClassWithFlags in interface cpw.mods.modlauncher.serviceapi.ILaunchPluginService
      • unpack

        private static java.util.List<org.objectweb.asm.tree.AnnotationNode> unpack​(java.util.List<org.objectweb.asm.tree.AnnotationNode> anns)
      • remove

        private boolean remove​(java.util.List<org.objectweb.asm.tree.AnnotationNode> anns,
                               java.lang.String side)
      • getExtension

        public java.util.function.Consumer<net.minecraftforge.api.distmarker.Dist> getExtension()
        Specified by:
        getExtension in interface cpw.mods.modlauncher.serviceapi.ILaunchPluginService
      • handlesClass

        public java.util.EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> handlesClass​(org.objectweb.asm.Type classType,
                                                                                                          boolean isEmpty)
        Specified by:
        handlesClass in interface cpw.mods.modlauncher.serviceapi.ILaunchPluginService