Class Platform.CraftBukkitPlatform
java.lang.Object
xyz.janboerman.scalaloader.compat.Platform
xyz.janboerman.scalaloader.compat.Platform.CraftBukkitPlatform
- Enclosing class:
Platform
-
Nested Class Summary
Nested classes/interfaces inherited from class Platform
Platform.CraftBukkitPlatform, Platform.GlowstonePlatformModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields inherited from class Platform
CRAFTBUKKIT, GLOWSTONEModifier and TypeFieldDescriptionstatic final Platform.CraftBukkitPlatformstatic final Platform.GlowstonePlatform -
Method Summary
Modifier and TypeMethodDescription<ScalaPluginClassLoader extends ClassLoader & IScalaPluginClassLoader>
byte[]byte[]transformNative(Server craftServer, byte[] classBytes, boolean modern) Deprecated.do not call directly.byte[]transformNative(Server craftServer, byte[] classBytes, String pluginName, String apiVersionString)
-
Method Details
-
transformNative
-
transformNative
@Deprecated public byte[] transformNative(Server craftServer, byte[] classBytes, boolean modern) throws Throwable Deprecated.do not call directly. Use transform(String, byte[], ClassLoader) instead.- Throws:
Throwable
-
transform
public <ScalaPluginClassLoader extends ClassLoader & IScalaPluginClassLoader> byte[] transform(String jarEntryPath, byte[] classBytes, ScalaPluginClassLoader pluginClassLoader) throws Throwable
-