Class BaseSimpleProcessor
java.lang.Object
net.neoforged.neoforgespi.transformation.BaseSimpleProcessor
- All Implemented Interfaces:
ClassProcessor
- Direct Known Subclasses:
SimpleClassProcessor,SimpleFieldProcessor,SimpleMethodProcessor
abstract sealed class BaseSimpleProcessor
extends Object
implements ClassProcessor
permits SimpleClassProcessor, SimpleFieldProcessor, SimpleMethodProcessor
Base class for simple class processors.
-
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 TypeMethodDescriptionfinal voidAfter processing callbacks are an advanced operation not supported by simple processors.final voidlink(ClassProcessor.LinkContext context) Linking is an advanced operation and not supported by simple processors.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
generatesPackages, handlesClass, name, orderingHint, processClass, runsBefore
-
Constructor Details
-
BaseSimpleProcessor
BaseSimpleProcessor()
-
-
Method Details
-
link
Linking is an advanced operation and not supported by simple processors.- Specified by:
linkin interfaceClassProcessor
-
afterProcessing
After processing callbacks are an advanced operation not supported by simple processors.- Specified by:
afterProcessingin interfaceClassProcessor- Parameters:
context- the context of the class that was processed
-
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
-