Interface IMixinContext
- All Known Implementing Classes:
MixinTargetContext
public interface IMixinContext
Context for performing reference mapping
-
Method Summary
Modifier and TypeMethodDescriptionGet the mixin class nameGet the internal mixin class nameGet the mixin transformer extension managergetMixin()Get the mixin infobooleangetOption(MixinEnvironment.Option option) Retrieve the value of the specified option from the environment this mixin belongs to.intGet the priority of the mixinGet the reference mapper for this mixinGet the name of the target class for this contextGet the internal name of the target class for this context
-
Method Details
-
getMixin
IMixinInfo getMixin()Get the mixin info -
getExtensions
Extensions getExtensions()Get the mixin transformer extension manager -
getClassName
String getClassName()Get the mixin class name- Returns:
- the mixin class name
-
getClassRef
String getClassRef()Get the internal mixin class name- Returns:
- internal class name
-
getTargetClassName
String getTargetClassName()Get the name of the target class for this context- Returns:
- target class name
-
getTargetClassRef
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
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
-