Package net.neoforged.fml.common.asm
Class SimpleProcessorsGroup
java.lang.Object
net.neoforged.fml.common.asm.SimpleProcessorsGroup
- All Implemented Interfaces:
ClassProcessor
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.neoforged.neoforgespi.transformation.ClassProcessor
ClassProcessor.AfterProcessingContext, ClassProcessor.ComputeFlags, ClassProcessor.LinkContext, ClassProcessor.OrderingHint, ClassProcessor.SelectionContext, ClassProcessor.TransformationContext -
Field Summary
Fields inherited from interface net.neoforged.neoforgespi.transformation.ClassProcessor
GENERATED_PACKAGE_MODULE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the processor wants to recieve the class.name()Returns a unique identifier for this processor.Each class that the processor has opted to recieve is passed to this method for processing.Returns processors that this processor must run after.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforgespi.transformation.ClassProcessor
afterProcessing, generatesPackages, link, orderingHint, runsBefore
-
Constructor Details
-
SimpleProcessorsGroup
public SimpleProcessorsGroup()
-
-
Method Details
-
name
Description copied from interface:ClassProcessorReturns a unique identifier for this processor.- Specified by:
namein interfaceClassProcessor- Returns:
- a unique identifier for this processor
-
runsAfter
Description copied from interface:ClassProcessorReturns processors that this processor must run after. This should includeClassProcessorIds.COMPUTING_FRAMESif the processor returns a result requiring frame re-computation.- Specified by:
runsAfterin interfaceClassProcessor- Returns:
- processors that this processor must run after
-
handlesClass
Description copied from interface:ClassProcessorReturns whether the processor wants to recieve the class.- Specified by:
handlesClassin interfaceClassProcessor- Parameters:
context- the context of the class to consider- Returns:
- whether the processor wants to recieve the class
-
processClass
Description copied from interface:ClassProcessorEach class that the processor has opted to recieve is passed to this method for processing.- Specified by:
processClassin interfaceClassProcessor- Parameters:
context- the context of the class to process- Returns:
- the
ClassProcessor.ComputeFlagsindicating how the class should be rewritten.
-