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 classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Platform.CraftBukkitPlatformstatic final Platform.GlowstonePlatform -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Platformstatic booleanisFolia()<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()
-