Class MinestomClassProvider

java.lang.Object
net.minestom.server.extras.selfmodification.mixins.MinestomClassProvider
All Implemented Interfaces:
org.spongepowered.asm.service.IClassProvider

public class MinestomClassProvider
extends java.lang.Object
implements org.spongepowered.asm.service.IClassProvider
Provides classes for Mixin
  • Constructor Summary

    Constructors 
    Constructor Description
    MinestomClassProvider​(MinestomOverwriteClassLoader classLoader)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Class<?> findAgentClass​(java.lang.String name, boolean initialize)  
    java.lang.Class<?> findClass​(java.lang.String name)  
    java.lang.Class<?> findClass​(java.lang.String name, boolean initialize)  
    java.net.URL[] getClassPath()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getClassPath

      public java.net.URL[] getClassPath()
      Specified by:
      getClassPath in interface org.spongepowered.asm.service.IClassProvider
    • findClass

      public java.lang.Class<?> findClass​(java.lang.String name) throws java.lang.ClassNotFoundException
      Specified by:
      findClass in interface org.spongepowered.asm.service.IClassProvider
      Throws:
      java.lang.ClassNotFoundException
    • findClass

      public java.lang.Class<?> findClass​(java.lang.String name, boolean initialize) throws java.lang.ClassNotFoundException
      Specified by:
      findClass in interface org.spongepowered.asm.service.IClassProvider
      Throws:
      java.lang.ClassNotFoundException
    • findAgentClass

      public java.lang.Class<?> findAgentClass​(java.lang.String name, boolean initialize) throws java.lang.ClassNotFoundException
      Specified by:
      findAgentClass in interface org.spongepowered.asm.service.IClassProvider
      Throws:
      java.lang.ClassNotFoundException