# Deprecated API

## Contents

- Classes
- Enum Classes
- Exception Classes
- Methods
- Constructors

- Deprecated Classes
  Class
  Description
  de.geolykt.starloader.deobf.access.AccessFlagModifier
  de.geolykt.starloader.deobf.access.AccessFlagModifier.AccessibleModifier
  de.geolykt.starloader.deobf.access.AccessFlagModifier.ExtendableModifier
  de.geolykt.starloader.deobf.access.AccessFlagModifier.RemoveFlagModifier
  de.geolykt.starloader.deobf.access.AccessTransformInfo
  de.geolykt.starloader.deobf.access.AccessWidenerReader

- Deprecated Enum Classes
  Enum Class
  Description
  de.geolykt.starloader.deobf.access.AccessFlagModifier.Type

- Deprecated Exception Classes
  Exception Class
  Description
  de.geolykt.starloader.deobf.access.AccessWidenerReader.IllegalHeaderException

- Deprecated Methods
  Method
  Description
  de.geolykt.starloader.mod.DiscoveredExtension.getAccessWidener()
  de.geolykt.starloader.mod.Extension.postTerminate()
  This method is a boilerplate solution, for more info see below However, the method is not slated for removal. WARNING: The implementation of this method should be coded very carefully. The implementation should be thread-safe and avoid deadlocks and should not rely on the existence of other threads. For more info, see `Runtime.addShutdownHook(Thread)`. Additionally due to the nature of how extensions unload, it is recommended that are more recommendable method for unloading is used, for example SLAPI offers the ApplicationStopEvent and SignalExtensionTerminationExtension. Other extension libraries might offer similar alternatives that are a lot more safer to use.
  de.geolykt.starloader.mod.Extension.preTerminate()
  This method is a boilerplate solution, for more info see below. However, the method is not slated for removal. WARNING: The implementation of this method should be coded very carefully. The implementation should be thread-safe and avoid deadlocks and should not rely on the existence of other threads. For more info, see `Runtime.addShutdownHook(Thread)`. Additionally due to the nature of how extensions unload, it is recommended that are more recommendable method for unloading is used, for example SLAPI offers the ApplicationStopEvent and SignalExtensionTerminationExtension. Other extension libraries might offer similar alternatives that are a lot more safer to use.
  de.geolykt.starloader.mod.Extension.terminate()
  This method is a boilerplate solution, for more info see below However, the method is not slated for removal. WARNING: The implementation of this method should be coded very carefully. The implementation should be thread-safe and avoid deadlocks and should not rely on the existence of other threads. For more info, see `Runtime.addShutdownHook(Thread)`. Additionally due to the nature of how extensions unload, it is recommended that are more recommendable method for unloading is used, for example SLAPI offers the ApplicationStopEvent and SignalExtensionTerminationExtension. Other extension libraries might offer similar alternatives that are a lot more safer to use.
  de.geolykt.starloader.mod.Extension.unload()
  This method is a boilerplate solution, for more info see below However, the method is not slated for removal. WARNING: The implementation of this method should be coded very carefully. The implementation should be thread-safe and avoid deadlocks and should not rely on the existence of other threads. For more info, see `Runtime.addShutdownHook(Thread)`. Additionally due to the nature of how extensions unload, it is recommended that are more recommendable method for unloading is used, for example SLAPI offers the ApplicationStopEvent and SignalExtensionTerminationExtension. Other extension libraries might offer similar alternatives that are a lot more safer to use. After calling this method, the entirety of the Extension is unloaded, which means classes provided by the extension become unusable.
  de.geolykt.starloader.Starloader.getExtensionDir()
  net.minestom.server.extras.selfmodification.MinestomExtensionClassLoader.finalize()
  net.minestom.server.extras.selfmodification.MinestomRootClassLoader.addTransformer(ASMTransformer)
  net.minestom.server.extras.selfmodification.MinestomRootClassLoader.getTransformers()
  Use `TransformableClassloader.getASMTransformers()` instead.
  net.minestom.server.extras.selfmodification.MinestomRootClassLoader.loadBytesWithChildren(String, boolean)
  net.minestom.server.extras.selfmodification.MinestomRootClassLoader.readAccessWidener(InputStream)

- Deprecated Constructors
  Constructor
  Description
  de.geolykt.starloader.mod.ExtensionManager()
  de.geolykt.starloader.mod.ExtensionPrototype(List<URL>)
  de.geolykt.starloader.mod.ExtensionPrototype(List<URL>, boolean)