public class RuntimeDistCleaner
extends java.lang.Object
implements cpw.mods.modlauncher.serviceapi.ILaunchPluginService
Modifier and Type | Class and Description |
---|---|
private static class |
RuntimeDistCleaner.LambdaGatherer |
Modifier and Type | Field and 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 |
Constructor and Description |
---|
RuntimeDistCleaner() |
Modifier and Type | Method and 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() |
boolean |
processClass(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase phase,
org.objectweb.asm.tree.ClassNode classNode,
org.objectweb.asm.Type classType) |
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) |
private static final org.apache.logging.log4j.Logger LOGGER
private static final org.apache.logging.log4j.Marker DISTXFORM
private static java.lang.String DIST
private static final java.lang.String ONLYIN
private static final java.lang.String ONLYINS
private static final java.util.EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> YAY
private static final java.util.EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> NAY
public java.lang.String name()
name
in interface cpw.mods.modlauncher.serviceapi.ILaunchPluginService
public boolean processClass(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase phase, org.objectweb.asm.tree.ClassNode classNode, org.objectweb.asm.Type classType)
processClass
in interface cpw.mods.modlauncher.serviceapi.ILaunchPluginService
private static java.util.List<org.objectweb.asm.tree.AnnotationNode> unpack(java.util.List<org.objectweb.asm.tree.AnnotationNode> anns)
private boolean remove(java.util.List<org.objectweb.asm.tree.AnnotationNode> anns, java.lang.String side)
public java.util.function.Consumer<net.minecraftforge.api.distmarker.Dist> getExtension()
getExtension
in interface cpw.mods.modlauncher.serviceapi.ILaunchPluginService
public java.util.EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> handlesClass(org.objectweb.asm.Type classType, boolean isEmpty)
handlesClass
in interface cpw.mods.modlauncher.serviceapi.ILaunchPluginService