Package org.spongepowered.asm.mixin.injection.struct
Internal data bundles used by injectors during application.
-
Interface Summary Interface Description IChainedDecoration<T> An InjectionNode decoration which can chain to a previously registered decoration with the same type and key. -
Class Summary Class Description ArgOffsets Decoration which stores a linear offset of arguments when a node replacement results in a call to a method with the same arguments as the original (replaced) call but offset by some fixed amount.CallbackInjectionInfo Information about a callback to inject, usually specified byInjectConstructor ATargetwhich is a constructorInjectionInfo Contructs information about an injection from anInjectannotation and allows the injection to be processed.InjectionNodes Used to keep track of instruction nodes in aTargetmethod which are targetted by various types of injector.InjectionNodes.InjectionNode A node targetted by one or more injectors.InjectionPointAnnotationContext Specialised SelectorAnnotationContext for injection pointsInjectionPointData Data read from anAtannotation and passed into an InjectionPoint ctorInjectorGroupInfo Information store for injector groupsInjectorGroupInfo.Map Storage for injector groupsMemberInfo Struct which defines an Explcit Target selector, SeeITargetSelectorfor other supported selector types.ModifyArgInjectionInfo Information about aModifyArginjectorModifyArgsInjectionInfo Information about aModifyArgsinjectorModifyConstantInjectionInfo Information about a constant modifier injectorModifyVariableInjectionInfo Information about aModifyVariableinjectorRedirectInjectionInfo Information about a redirector injectorSelectorAnnotationContext Narrowed context for selectors in annotations which are themselves inside a parent annotation, for example @At annotations within a parent @Inject annotation.Target Information about the current injection target (method) which bundles common injection context with the target method in order to allow injectors to interoperate. -
Exception Summary Exception Description InvalidMemberDescriptorException Thrown when aMemberInfofails basic syntax validationTargetNotSupportedException Exception thrown when target selector is not valid for the supplied target context duringITargetSelector.attach(org.spongepowered.asm.mixin.injection.selectors.ISelectorContext) -
Annotation Types Summary Annotation Type Description InjectionInfo.AnnotationType Decoration for subclasses which indicates the injector annotation that the subclass handlesInjectionInfo.HandlerPrefix Decoration for subclasses which specifies the prefix to use when conforming annotated handler methodsInjectionInfo.InjectorOrder Decoration for subclasses which specifies the order (phase) in which the injector should be applied relative to other injectors.