Class Platform
java.lang.Object
xyz.janboerman.scalaloader.compat.Platform
- Direct Known Subclasses:
Platform.CraftBukkitPlatform
,Platform.GlowstonePlatform
This class is NOT part of the public API!
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Platform.CraftBukkitPlatform
static final Platform.GlowstonePlatform
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Platform
static boolean
isFolia()
<ScalaPluginClassLoader extends ClassLoader & IScalaPluginClassLoader>
byte[]
-
Field Details
-
CRAFTBUKKIT
-
GLOWSTONE
-
-
Constructor Details
-
Platform
protected Platform()
-
-
Method Details
-
transform
public <ScalaPluginClassLoader extends ClassLoader & IScalaPluginClassLoader> byte[] transform(String jarEntryPath, byte[] original, ScalaPluginClassLoader currentPluginClassLoader) throws Throwable - Throws:
Throwable
-
detect
-
isFolia
public static boolean isFolia()
-