Interface ISliceContext
- All Superinterfaces:
IInjectionPointContext,IMessageSink
- All Known Implementing Classes:
CallbackInjectionInfo,InjectionInfo,ModifyArgInjectionInfo,ModifyArgsInjectionInfo,ModifyConstantInjectionInfo,ModifyVariableInjectionInfo,RedirectInjectionInfo
public interface ISliceContext extends IInjectionPointContext
Context for a slice declaration
-
Method Summary
Modifier and Type Method Description MethodSlicegetSlice(java.lang.String id)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 itselfMethods inherited from interface org.spongepowered.asm.mixin.injection.IInjectionPointContext
getAnnotation, getContext, getMethodMethods inherited from interface org.spongepowered.asm.util.IMessageSink
addMessage
-
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
-