Interface IMixinContext
-
- All Known Implementing Classes:
MixinTargetContext
public interface IMixinContextContext for performing reference mapping
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetClassName()Get the mixin class namejava.lang.StringgetClassRef()Get the internal mixin class nameExtensionsgetExtensions()Get the mixin transformer extension managerIMixinInfogetMixin()Get the mixin infobooleangetOption(MixinEnvironment.Option option)Retrieve the value of the specified option from the environment this mixin belongs to.intgetPriority()Get the priority of the mixinIReferenceMappergetReferenceMapper()Get the reference mapper for this mixinjava.lang.StringgetTargetClassName()Get the name of the target class for this contextjava.lang.StringgetTargetClassRef()Get the internal name of the target class for this context
-
-
-
Method Detail
-
getMixin
IMixinInfo getMixin()
Get the mixin info
-
getExtensions
Extensions getExtensions()
Get the mixin transformer extension manager
-
getClassName
java.lang.String getClassName()
Get the mixin class name- Returns:
- the mixin class name
-
getClassRef
java.lang.String getClassRef()
Get the internal mixin class name- Returns:
- internal class name
-
getTargetClassName
java.lang.String getTargetClassName()
Get the name of the target class for this context- Returns:
- target class name
-
getTargetClassRef
java.lang.String getTargetClassRef()
Get the internal name of the target class for this context- Returns:
- internal target class name
-
getReferenceMapper
IReferenceMapper getReferenceMapper()
Get the reference mapper for this mixin- Returns:
- ReferenceMapper instance (can be null)
-
getOption
boolean getOption(MixinEnvironment.Option option)
Retrieve the value of the specified option from the environment this mixin belongs to.- Parameters:
option- option to check- Returns:
- option value
-
getPriority
int getPriority()
Get the priority of the mixin
-
-