Uses of Enum Class
valorless.rarespawns.compilers.CompilerType
Packages that use CompilerType
Package
Description
Compilation and dynamic class loading for RareSpawns scripts.
-
Uses of CompilerType in valorless.rarespawns.compilers
Methods in valorless.rarespawns.compilers that return CompilerTypeModifier and TypeMethodDescriptionstatic CompilerTypeReturns the enum constant of this class with the specified name.static CompilerType[]CompilerType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in valorless.rarespawns.compilers with parameters of type CompilerTypeModifier and TypeMethodDescriptionClass<?> Compiler.compileAndCacheCode(String id, CompilerType type) Compiles the source associated with the provided id in the folder designated by the givenCompilerType, writes a temporary source file with additional imports, and loads the resulting class via a type-specific dynamic class loader.