Interface ISliceContext
- All Superinterfaces:
IInjectionPointContext,IMessageSink,ISelectorContext
- All Known Implementing Classes:
CallbackInjectionInfo,InjectionInfo,ModifyArgInjectionInfo,ModifyArgsInjectionInfo,ModifyConstantInjectionInfo,ModifyVariableInjectionInfo,RedirectInjectionInfo
Context for a slice declaration
-
Method Summary
Modifier and TypeMethodDescriptionFetch slice with the specified id from this context, the slice id may be transformed internally by the context according to restrictions on the injector itselfMethods inherited from interface org.spongepowered.asm.mixin.injection.IInjectionPointContext
getAnnotationNode, getMethodMethods inherited from interface org.spongepowered.asm.util.IMessageSink
addMessageMethods inherited from interface org.spongepowered.asm.mixin.injection.selectors.ISelectorContext
getAnnotation, getElementDescription, getMixin, getParent, getSelectorAnnotation, getSelectorCoordinate, remap
-
Method Details
-
getSlice
Fetch slice with the specified id from this context, the slice id may be transformed internally by the context according to restrictions on the injector itself- Parameters:
id- slice id to fetch- Returns:
- method slice matching query
-