Interface IMixinContext

All Known Implementing Classes:
MixinTargetContext

public interface IMixinContext
Context for performing reference mapping
  • 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

      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