Class MixinBackend.SimpleMixinBackend

java.lang.Object
codechicken.mixin.api.MixinBackend.SimpleMixinBackend
All Implemented Interfaces:
MixinBackend
Enclosing interface:
MixinBackend

public static class MixinBackend.SimpleMixinBackend extends Object implements MixinBackend
A simple MixinBackend implementation for standalone use.
  • Constructor Details

    • SimpleMixinBackend

      public SimpleMixinBackend()
    • SimpleMixinBackend

      public SimpleMixinBackend(ClassLoader classLoader)
  • Method Details

    • getContextClassLoader

      public ClassLoader getContextClassLoader()
      Description copied from interface: MixinBackend
      The class loader to delegate class loading calls to.
      Specified by:
      getContextClassLoader in interface MixinBackend
      Returns:
      The context class loader.
    • getBytes

      public byte @Nullable [] getBytes(String name)
      Description copied from interface: MixinBackend
      Gets the bytes for a class.
      Specified by:
      getBytes in interface MixinBackend
      Parameters:
      name - The class name.
      Returns:
      The bytes for the class.